Warcraft III resources & community, 2003–2006 · archived

Pls help me with triggering !!

8 posts
#1

Pls help me with triggering !!

I work at my DBZ map .. and i want when player red (Goku)enter on a region to transform into a Super Sayan etc. How i must make this trigger ?? pls help me :oops: :oops: :oops:
#2
Pls help me ..... what i must do whit this trigger at events , conditions , actions ! pls :D :D .. i don't edit cuz i can't when i click edit it say Invalid_Session ..
#3
Make a trigger that says:
Event
Unit Enters region (name)
Condition
Triggering Unit Equal To Goku
Action
Replace Triggering Unit with Supersayin


Should be something like that.
#4
It's not exactly like that, but the idea is right.



Events -
   A unit enter (Region)

Conditions -
   Entering unit = (Goku)

Actions -
   Replace (entering unit) with (Super Sayian)



This does it.
#5
You should give some sfx'es when replacing unit, it'll look better.
#6
It's working !! Thx mutch !!
#7
yes it does, but it has bugs if u do it like that, this is better:

before u start make these variables: goku_hp, type: real and goku_lvl, type: real

events: unit enters region

conditions: unit type of entering (or triggering) unit equal to goku

actions:set goku_hp = life of goku
set goku_lvl = herolevel of goku
wait 0.01 sec
replace goku with supersayan
set life of lastcreated unit to life of goku_hp
set lvl of lastcreated unit to lvl of goku_lvl
#8
=.= Use Unit - Replace Goku with Super Sayan using rpelcaed unit's life and mana

Hero level isn't stored as real, IT'S INTEGR FFS!