• 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.

Pls help me with triggering !!

Status
Not open for further replies.
Level 1
Joined
Aug 19, 2005
Messages
4
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:
 
Level 1
Joined
Aug 19, 2005
Messages
4
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 ..
 
Level 1
Joined
Aug 10, 2005
Messages
9
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.
 
Level 3
Joined
Aug 18, 2005
Messages
45
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.
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
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.
Top