- Joined
- Aug 8, 2010
- Messages
- 1,022
Hi! I want to ask how i can make a unit unable to move and unable to change it's angle (facing point) with GUI? Here is the trigger :
-
Untitled Trigger 001 Copy
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Impale (for scorpion)
- (Unit-type of (Casting unit)) Equal to Scorpion
-
Actions
- Set StingerLoc = ((Position of (Triggering unit)) offset by 100.00 towards (Facing of (Triggering unit)) degrees)
- Wait 0.50 seconds
- Animation - Play (Triggering unit)'s Morph animation
- Wait 1.00 seconds
- Animation - Play (Triggering unit)'s Stand ALTERNATE animation
- Unit - Create 1 Impale for Player 1 (Red) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
- Unit - Order (Last created unit) to Undead Crypt Lord - Impale StingerLoc
- Wait 1.00 seconds
- Animation - Play (Triggering unit)'s Morph ALTERNATE animation
- Wait 1.00 seconds
- Animation - Reset (Triggering unit)'s animation
-
Events