level 5
太长不翻------ 这个明了吧?
1. Create A marker called "marker1" - the spawn point
2. Create an Opfor Leader Unit - place him "behind" the player (he'll be hidden so no-worries)
Opfor Leader Unit init: CODgroup=group this;this enablesimulation false;this hideobject true
(He is placed behind player, so player is between Opfor leader and and trigger
area,
This makes the spawned units move toward the player as they try to re-group with this leader)
3.Create a Module - Game Logic
Name : CODarray
Init : CODarray=["RU_Soldier","RU_Soldier","RU_Soldier","RU_Soldier","RU_Soldier","RU_Soldier"]
4. create multiple triggers along the player path - Blufor,Present,Once,
All triggers' OnActivation:
format["%1",CODarray select (round(random 5))] createUnit[(getMarkerPos "marker1"), CODgroup, "", 0.6, "PRIVATE"];[playerside,"HQ"] sidechat "SPAWNING"
2012年12月29日 10点12分
4
回复 【大番薯】 :
![[揉脸]](/static/emoticons/u63c9u8138.png)
你那裏不明白?
2012年12月29日 13点12分