- Joined
- Sep 29, 2006
- Messages
- 447
hi, im trying to make a force choke spell which would cause the unit to levitate in the air while they were choking but i cant get it to work. the damage is done but the unit wont levitate can anyone help?
p.s. ive noticed that people can make an image of their trigger appear. how do they do that? do i need to take a screenshot?
Code:
force choke
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Force Choke (Jedi)
Actions
Set TempUnit = (Target unit of ability being cast)
Set TempPoint = (Position of TempUnit)
Unit - Create 1 dummy unit for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees
Unit - Add choke entangle to (Last created unit)
Unit - Set level of choke entangle for (Last created unit) to (Level of Force Choke (Jedi) for (Triggering unit))
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots TempUnit
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Crow Form to TempUnit
Animation - Change TempUnit flying height to 80.00 at 0.50
Wait 4.00 seconds
Animation - Change TempUnit flying height to 0.00 at 0.50
Unit - Remove Crow Form from TempUnit
Custom script: call RemoveLocation(udg_TempPoint)
p.s. ive noticed that people can make an image of their trigger appear. how do they do that? do i need to take a screenshot?
Last edited: