- Joined
- Oct 25, 2009
- Messages
- 995
It doesn't work, anyone can help me?if the rock chunks takes damages,it will drop stones.
-
Rocks
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
Custom script: set bj_wantDestroyGroup=true
-
Unit Group - Pick every unit in (Units of type Rock Chunks) and do (Actions)
-
Loop - Actions
-
Trigger - Add to Stones Drop <gen> the event (Unit - (Picked unit) Takes damage)
-
-
-
-
-
Stones Drop
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and 100) Less than or equal to 45
-
-
Then - Actions
-
Item - Create Iron Ore at (Position of (Triggering unit))
-
Item - Set charges remaining in (Last created item) to (Random integer number between 1 and 3)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and 100) Less than or equal to 65
-
-
Then - Actions
-
Item - Create Steel Ore at (Position of (Triggering unit))
-
Item - Set charges remaining in (Last created item) to (Random integer number between 1 and 3)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Random integer number between 1 and 100) Less than or equal to 85
-
-
Then - Actions
-
Item - Create Stone at (Position of (Triggering unit))
-
Item - Set charges remaining in (Last created item) to (Random integer number between 1 and 3)
-
-
Else - Actions
-
-
-