Newbwc3
Sephiroth_VII
- Reaction score
- 157
I'm sorry everyone I hadn't realized that I didn't upload the new version. Well now its all up-to-date.
FlamethrowerARTandDAMAGE
Events
Unit - A unit Is issued an order targeting an object
Conditions
flamethrowerON Equal to True
(Triggering unit) Equal to FT_caster
[B] ((Triggering player) is an enemy of (Owner of (Target unit of issued order))) Equal to True[/B]
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Issued order) Equal to (Order(smart))
(Issued order) Equal to (Order(attack))
[B](Issued order) Equal to (Order(move))[/B]
Then - Actions
Set FT_casterLoc = (Position of FT_caster)
Set FT_TargetLoc = (Position of (Target unit of issued order))
Special Effect - Create a special effect attached to the left hand of FT_caster using Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
Unit - Create 1 FT_Dummy for (Owner of FT_caster) at FT_casterLoc facing FT_TargetLoc
Set FTDummy = (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to FTDummy
Unit - Order FTDummy to Human Mountain King - Storm Bolt (Target unit of issued order)
Unit - Cause FT_caster to damage circular area after 0.00 seconds of radius 250.00 at FT_TargetLoc, dealing 10.00 damage of attack type Spells and damage type Fire
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_FT_casterLoc)
Custom script: call RemoveLocation(udg_FT_TargetLoc)
Else - Actions
Did you check in...
File - Preferences
the entry "Allow negative real values in the Object Editor"? Try with 2 hp also.
Dummy remove
Events
Unit - A unit enters (Entire map)
Conditions
(Unit-type of (Triggering unit)) Equal to Dummy
Actions
Wait 1.00 seconds
Unit - Remove (Triggering unit) from the game