- Joined
- Aug 20, 2009
- Messages
- 1,554
-
WhichisFaster
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
For each integer X from 1 to MaxBullet, do (Actions)
-
Loop - Actions
- -------- Move Whatever Bullet XYZ to XYZ2 --------
- Set TempPoint = (Position of BulletUnit[X])
-
For each (Integer A) from 1 to MaxUnit, do (Actions)
-
Loop - Actions
- -------- I did not check unit alive or not, because i would have removed it from the index if i did. --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Unit[Integer A] Not equal to No unit
-
Then - Actions
- Set TempPoint2 = (Position of Unit[Integer A])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Distance between TempPoint and TempPoint2) Less than or equal to 500.00
-
Then - Actions
- -------- Actions Here --------
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
Loop - Actions
-
For each integer X from 1 to MaxBullet, do (Actions)
-
Events
-
WhichIsFaster 2
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
For each Integer X from 1 to MaxBullet, do (Actions)
-
Loop - Actions
- -------- Move Whatever Bullet XYZ to XYZ2 --------
- Set TempPoint = (Position of BulletUnit[X])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in (Units within 500.00 of TempPoint matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of BulletUnit[X])) Equal to True)))) Greater than 0
-
Then - Actions
-
Unit Group - Pick every unit in (Units within 500.00 of TempPoint) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is alive) Equal to True
- ((Triggering unit) belongs to an enemy of (Owner of BulletUnit[X])) Equal to True
-
Then - Actions
- -------- Actions Here --------
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 500.00 of TempPoint) and do (Actions)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
For each Integer X from 1 to MaxBullet, do (Actions)
-
Events
Last edited: