- Joined
- Apr 21, 2014
- Messages
- 16
hey, i'm new. I'm trying to launch missiles from orc demolisher as dummy
Thanks
-
Nature Malace
- Events
- Conditions
-
Actions
- Set BS_A_04_NM_Loc[0] = (Position of BS_BF_Boss)
-
For each (Integer BS_A_04_NM_Int) from 1 to 25, do (Actions)
-
Loop - Actions
- Set BS_A_04_NM_Loc[1] = (BS_A_04_NM_Loc[0] offset by (Random real number between 400.00 and 1000.00) towards (Facing of BS_BF_Boss) degrees)
- Set BS_A_04_NM_Reg = (Region centered at BS_A_04_NM_Loc[1] with size (500.00, 500.00))
- Set BS_A_04_NM_Loc[2] = (Random point in BS_A_04_NM_Reg)
- Unit - Create 1 Attack Nature for Player 11 (Dark Green) at BS_A_04_NM_Loc[0] facing Default building facing degrees
- Unit - Order (Last created unit) to Attack Ground BS_A_04_NM_Loc[2]
- Unit - Add a 0.20 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_BS_A_04_NM_Loc[1])
- Custom script: call RemoveLocation(udg_BS_A_04_NM_Loc[2])
- Set BS_A_04_NM_Reg = No region
-
Loop - Actions
- Custom script: call RemoveLocation(udg_BS_A_04_NM_Loc[0])
Thanks