Hi I'm trying to make it when a unit use an ability then trigger will fire, and cast the random Viarable Spells let me give u an excample.
First trigger for random spells
Ok I want a trigger similar like it spawn Unit but it will give me random to fire off one for spells on specific Unit.
I know how to add what unit to make the spell cast off from, But i just want to know how to make a simple trigger like this in action for spells random when use an ability.
First trigger for random spells
-
random spells
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set RandomSpell[1] = Breath of Fire
-
Set RandomSpell[1] = Blizzard
-
-
-
Random Spells test
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to a hell hound
-
-
Actions
-
-
random spawner
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set RandomSpawn[1] = a slime
-
Set RandomSpawn[2] = a rat
-
Set RandomSpawn[3] = a dire wolf
-
Set RandomSpawn[4] = a rat man
-
Set RandomSpawn[5] = a hell hound
-
Set RandomSpawn[6] = a rat mage
-
Set RandomSpawn[7] = a silver serpent
-
Set RandomSpawn[8] = a rat archer
-
Set RandomSpawn[9] = a barracoon
-
-
-
Randomness
-
Events
-
Unit - A unit owned by Player 12 (Brown) Dies
-
-
Conditions
-
Actions
-
Unit - Create 1 RandomSpawn[(Random integer number between 1 and 9)] for Player 12 (Brown) at (Random point in Spawn a <gen>) facing Default building facing degrees
-
-
Ok I want a trigger similar like it spawn Unit but it will give me random to fire off one for spells on specific Unit.
I know how to add what unit to make the spell cast off from, But i just want to know how to make a simple trigger like this in action for spells random when use an ability.
-
Randomness
-
Events
-
Unit - A unit owned by Player 12 (Brown) Dies
-
-
Conditions
-
Actions
-
Unit - Create 1 RandomSpawn[(Random integer number between 1 and 9)] for Player 12 (Brown) at (Random point in Spawn a <gen>) facing Default building facing degrees
-
-