Hello BPower
Your request in my Spell [Spirit of Fire]
----------
Good way to use a dummy caster:
Example
Events
Map initialization
Conditions
Actions
-------- Needs ability locust and should use the model file dummy.mdx --------
Custom script: set udg_DummyCaster = CreateUnit(Player(15), udg_DummyCasterId, 0,0,0)
Loop
Events
Conditions
Actions
-------- Actions before --------
Unit - Move DummyCaster instantly to MyPoint
-------- Owner of caster may be stored in a player variable. --------
Unit - Change ownership of DummyCaster to (Owner of (Triggering unit)) and Retain color
Unit - Order DummyCaster to Human Mountain King - Storm Bolt (Picked unit)
-------- Owner of caster may be stored in a player variable. --------
Unit - Change ownership of DummyCaster to Neutral Passive and Retain color
-------- Actions after --------
----------
I try it but does not work
-------- ======================== --------
-------- Fire Breath Function: --------
Set SoF_TempLoc2 = (Position of SoF_PLDummy[SoF_TempInt])
Unit - Move SoF_DummyCaster instantly to SoF_TempLoc2
Unit - Change ownership of SoF_DummyCaster to SoF_Player[SoF_TempInt] and Retain color
Unit - Order SoF_DummyCaster to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of SoF_PLDummy[SoF_TempInt]) offset by 100.00 towards SoF_FireBallAngle[SoF_TempInt] degrees)
Unit - Change ownership of SoF_DummyCaster to Neutral Passive and Retain color
can you explain this?
Thank You!