Таким образом?
function kruger_super_spawn()
alife():create("serij_jumper_strong",vector():set(-58.828918457231,-4.121039390564,-23.820091247559),1690,1531)
alife():create("m_gigant_jumper_e",vector():set(-50.813457489014,3.4666757583618,-16.220701217651),2039,1535)
alife():create("spider_mini",vector():set(-63.28190612393,11.563755989075,-12.167085647583),1319,1530)
alife():create("vypolzen_red",vector():set(-34.370433807373,11.56409740448,3.0166418552399),3203,1532)
alife():create("zanoza_mut",vector():set(-10.502453804216,1.117949962616,-6.6846594810486),3914,1536)
alife():create("karlik_mut",vector():set(-58.828918457031,-4.121039390564,-23.820091247559),1690,1531)
alife():create("zombie_hell",vector():set(-65.259307861328,19.31845664978,-11.303234100342),1221,1530)
alife():create("dog_green",vector():set(-65.259307861528,19.31845664978,-11.303234100342),1221,1530)
alife():create("zombie_immortal",vector():set(-65.259307861728,19.31845664978,-11.303234100342),1221,1530)
alife():create("zombie_trup2",vector():set(-63.28190612793,11.563755989075,-12.167085647583),1319,1530)
alife():create("bibliotekar",vector():set(-63.28190612593,11.563755989075,-12.167085647583),1319,1530)
alife():create("zombie_trup2",vector():set(-63.28190612493,11.563755989075,-12.167085647583),1319,1530)
alife():create("ghoul_strong",vector():set(-63.28190612393,11.563755989075,-12.167085647583),1319,1530)
alife():create("zanoza_mut",vector():set(-34.370433807373,11.56409740448,3.0166418552399),3203,1532)
alife():create("zombie_trup",vector():set(-34.370433807573,11.56409740448,3.0166418552399),3203,1532)
alife():create("bibliotekar",vector():set(-34.370433807773,11.56409740448,3.0166418552399),3203,1532)
alife():create("zombie_immortal",vector():set(-28.289403915405,-4.1218061447144,-16.272827148438),3454,1536)
alife():create("zanoza_mut",vector():set(-28.289403915605,-4.1218061447144,-16.272827148438),3454,1536)
alife():create("zombie_trup2",vector():set(-27.855401992798,-4.1199560165405,-9.7585144042969),3464,1536)
alife():create("zombie_hell",vector():set(-27.855401992998,-4.1199560165405,-9.7585144042969),3464,1536)
alife():create("zombie_trup2",vector():set(-27.855401992598,-4.1199560165405,-9.7585144042969),3464,1536)
alife():create("ghoul_strong",vector():set(-10.502453804016,1.117949962616,-6.6846594810486),3914,1536)
alife():create("zombie_immortal",vector():set(-10.502453804216,1.117949962616,-6.6846594810486),3914,1536)
alife():create("gigant_final_by",vector():set(-58.828918457031,-4.121039390564,-23.820091247559),1690,1531)
alife():create("zombie_hell",vector():set(-58.828918457231,-4.121039390564,-23.820091247559),1690,1531)
alife():create("swampbeast_strong",vector():set(-50.813457489014,3.4666757583618,-16.220701217651),2039,1535)
alife():create("zombie_trup2",vector():set(-50.813457489214,3.4666757583618,-16.220701217651),2039,1535)
alife():create("ghoul_strong",vector():set(-10.502453804016,1.117949962616,-6.6846594810486),3914,1536)
alife():create("zombie_immortal",vector():set(-10.502453804216,1.117949962616,-6.6846594810486),3914,1536)
alife():create("dog_sil_hill",vector():set(-115.49247,21.56357,-30.328390),219,1529)
alife():create("bloodsucker_albinoss",vector():set(-102.81878,21.56417,-30.42200),432,1529)
alife():create("zombie_bloodsucker",vector():set(-91.34848,21.57212,-21.57377),744,1530)
alife():create("bloodsucker_mil",vector():set(30.63223,5.580508,13.53717),4673,1537)
alife():create("bloodsucker_albinoss",vector():set(33.56632,5.58483,-11.035712),4760,1538)
alife():create("zombie_bloodsucker",vector():set(47.4579,5.58542,-1.06534),5391,1538)
alife():create("dog_green",vector():set(82.60298,5.57212,-14.6757),6040,1539)
end
function activate()
if level.name() == "l10_radar" or if level.name() == "l03_agroprom" and not has_alife_info("kruger_super_spawn")then kruger.kruger_spawn_zanovo()
db.actor:give_info_portion("kruger_super_spawn")
end
end
function kruger_spawn_zanovo()
db.actor: disable_info_portion("kruger_super_spawn")
end
Кстати, спасибо за советы. Может есть пример как через рестриктор запускать сприпт спавна живности?
Повідомлення відредагував Gerkruger: 09 червень 2015 - 15:52