Drazalon
New Member
- Reaction score
- 3
Can someone help me make a trigger? I need a trigger that if a unit enters a region an enemy will appear in that entered region. BUT it would randomly chose an enemy from enemy groups. ALSO it would not always make an enemy appear when entered so its random.
Heres what i have hope u try to get the idea...
Also at the begginning of the game i would like to set the monsters like in a "folder" (maybe a unit group?) Like set a murloc and harppy in one group. Then it would automatically spawn 3 units into those 3 regions. One enemy in each region.
+REP for helping
Heres what i have hope u try to get the idea...
Code:
Area 1
Events
Unit - A unit enters Region 000 <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Neutral Hostile
Actions
Unit - Create 1 Ran for Neutral Hostile at (Center of Area1 enl <gen>) facing Default building facing degrees
Unit - Create 1 Ran for Neutral Hostile at (Center of Area1 enm <gen>) facing Default building facing degrees
Unit - Create 1 Ran for Neutral Hostile at (Center of Area1 enr <gen>) facing Default building facing degrees
Unit - Move (Triggering unit) instantly to (Center of Area1 spawn <gen>)
Wait 2.00 seconds
Camera - Apply (Current camera) for (Owner of (Triggering unit)) over 2.00 seconds
Also at the begginning of the game i would like to set the monsters like in a "folder" (maybe a unit group?) Like set a murloc and harppy in one group. Then it would automatically spawn 3 units into those 3 regions. One enemy in each region.
+REP for helping