Warcraft III resources & community, 2003–2006 · archived

trying to figure this out (activate an ability...)

4 posts
#1

trying to figure this out (activate an ability...)

try to make it so there is a 1 in 10 chance when ever this unit takes damage that it will activate an ability. can't seem to find anything that will let me activate an ability like this though. any help is appreciated :P


Pwolf
#2
This is spell question... Next time post into the spells section. And for that, you need to check if random number between 1 and 10 equal to 1, this being the condition of the trigger along with the one which checks if (Level of (Ability)) for casting unit greater than 0. Other questions?

~Daelin
#3
sorry for posting in the wrong area. i wasn't sure where this would go. i actualy figured it out already. i was basically looking for this:

call IssueImmediateOrderBJ( GetTriggerUnit(), "metamorphosis" )




Pwolf
#4
Pwolfsorry for posting in the wrong area. i wasn't sure where this would go. i actualy figured it out already. i was basically looking for this:

call IssueImmediateOrderBJ( GetTriggerUnit(), "metamorphosis" )




Pwolf


remove the "BJ" it does nothing else with it! it's one of the tons of DUMB BJ functions