- Joined
- Jan 11, 2018
- Messages
- 23
-
Rock Death
-

Events
-

Conditions
-


(Destructible-type of (Dying destructible)) Equal to The Earth
-
-

Actions
-


Set RNG = (Random integer number between 1 and 100)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




RNG Greater than 90
-
-



Then - Actions
-




Set OreSpawn = (Position of (Dying destructible))
-




Destructible - Create a Iron at OreSpawn facing (Random angle) with scale 1.00 and variation (Random integer number between 1 and 6)
-




Trigger - Add to Iron DEATH <gen> the event (Destructible - (Last created destructible) dies)
-




Special Effect - Create a special effect at OreSpawn using Abilities\Spells\Items\AIvi\AIviTarget.mdl
-




Special Effect - Destroy (Last created special effect)
-
-



Else - Actions
-
-
-
-
Iron DEATH
-

Events
-

Conditions
-

Actions
-


Set ExpendablePoint = (Position of (Dying destructible))
-


Special Effect - Create a special effect at ExpendablePoint using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
-


Special Effect - Destroy (Last created special effect)
-


Item - Create Iron Ore at ExpendablePoint
-


Destructible - Remove (Dying destructible)
-


Custom script: call RemoveLocation(udg_ExpendablePoint)
-
-





