i have a spell that s made after the item illusion spell --- but its for units ---- and in the 'unit - issue order target a unit' trigger i cant seem to find it ---- and i dont know how to write it in the string convertion thingy ---- help plz
Unit - Order (Last created unit) to (Convert (Name of (Get last learned skill of (Last created unit))) to unit targeted order) (Attacking unit)
This doesnt work either ...
Whole trigger is :
Fata Morganism
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Mirage Blader
(Level of Fata Morganism for (Attacking unit)) Greater than or equal to 1
Actions
Set Chance = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Less than or equal to (6 x (Level of Fata Morganism for (Attacking unit)))
Then - Actions
Unit - Create 1 Caster for (Owner of (Attacking unit)) at ((Position of (Attacking unit)) offset by 10.00 towards (Facing of (Attacking unit)) degrees) facing (Position of (Attacking unit))
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fata Morganism Effect to (Last created unit)
Unit - Set level of Fata Morganism Effect for (Last created unit) to (Level of Fata Morganism for (Attacking unit))
Unit - Order (Last created unit) to (Convert (Name of (Get last learned skill of (Last created unit))) to unit targeted order) (Attacking unit)
Else - Actions
Unit - Order (Last created unit) to (Convert (Name of (Get last learned skill of (Last created unit))) to unit targeted order) (Attacking unit)
This doesnt work either ...
Whole trigger is :
Fata Morganism
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Mirage Blader
(Level of Fata Morganism for (Attacking unit)) Greater than or equal to 1
Actions
Set Chance = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Less than or equal to (6 x (Level of Fata Morganism for (Attacking unit)))
Then - Actions
Unit - Create 1 Caster for (Owner of (Attacking unit)) at ((Position of (Attacking unit)) offset by 10.00 towards (Facing of (Attacking unit)) degrees) facing (Position of (Attacking unit))
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Fata Morganism Effect to (Last created unit)
Unit - Set level of Fata Morganism Effect for (Last created unit) to (Level of Fata Morganism for (Attacking unit))
Unit - Order (Last created unit) to (Convert (Name of (Get last learned skill of (Last created unit))) to unit targeted order) (Attacking unit)
Else - Actions
Last edited: