- Joined
- Jan 24, 2006
- Messages
- 1,938
Is it possible to stun a unit via triggers :?: I can't find any actions that would allow this and you can't change the stun length of bash so it's kinda important.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Darkdraak said:1st make a dummy unit that has the following abilaties:
Locust and the stunning abilaty
give this unit as model file: (group) game interface, (model) campainglogo
This unit shouldnt have a normal attack (unless you use bash) and a very high move speed
the stunningspell should have a good range since it has to hit a hard running unit
this unit now is unselectable ingame and complete invisible (since it doesnt have a model that can be displayed)
make the following trigger:
Triggerz
Events
A Unit falls of a cliff (for example)
Conditions
Triggering unit smokes weed
Triggering unit has a beard
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching: (matching unit is triggering unit)) and do (Actions)
Loop - Actions
Unit - Create 1 dummy for Triggering Player at (Position of (Picked unit)) facing Default building facing degrees
Unit - Set level of stunning spell for (Last created unit) to (whatever level is required)
Unit - Order (Last created unit) to Neutral - Hurl Boulder (or whatever the stun spell is based on) (Picked unit) (OR in case of bash) Unit - Order (last created unit) to attack once (picked unit)
Set Dummy=(last created unit) (=unit variable)
Wait 6 seconds
Remove (dummy) from the game
that should work with your description
EDIT made post more readable
and you could use Hurl boulder as the stun abilaty, adjust Stats - Duration Hero and Stats - Duration Unit to set the stunning time
