- Joined
- Sep 29, 2008
- Messages
- 672
-
For each (Integer NV_Loop) from 4 to 12, do (Actions)
-
Loop - Actions
- Set NV_Reals[0] = (NV_Reals[0] + 45.00)
- Set NV_Points[1] = (NV_Points[0] offset by 480.00 towards NV_Reals[0] degrees)
- Set NV_Points[2] = (NV_Points[0] offset by 480.00 towards (NV_Reals[0] + 45.00) degrees)
- Custom script: call AddLightningEx( "CLPB" , true , GetLocationX(udg_NV_Points[1]) , GetLocationY(udg_NV_Points[1]) , GetLocationZ(udg_NV_Points[1]) + 100, GetLocationX(udg_NV_Points[2]) , GetLocationY(udg_NV_Points[2]) , GetLocationZ(udg_NV_Points[2]) + 100)
- Hashtable - Save Handle Of(Last created lightning effect) as NV_Loop of (Key (Triggering unit)) in NV_Hashtable
- Lightning - Destroy (Load NV_Loop of (Key (Triggering unit)) in NV_Hashtable)
- Custom script: call RemoveLocation(udg_NV_Points[1])
- Custom script: call RemoveLocation(udg_NV_Points[2])
-
Loop - Actions