Pls help me with triggering !!

Status
Not open for further replies.

TheKiD

T

TheKiD

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:
 
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 ..
 
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.
 
It's not exactly like that, but the idea is right.

Code:
Events -
   A unit enter (Region)

Conditions -
   Entering unit = (Goku)

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

This does it.
 
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
 
Status
Not open for further replies.
Back
Top