• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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