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!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
One Piece - Red Line - Grand Line.w3x
Variables
Untitled Category
Creep spaw
Respawn
Add creep respawn
Untitled Category
Initialization
Voce quer 250 de gold
Sim Button
Nao Button
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Creep_Point
location
Yes
DialogButton
button
Yes
MyDialog
dialog
No
Respawn_Time
real
No
Temp_integer
integer
No
Creep spaw
Events
Map initialization
Conditions
Actions
Set Variable Set Respawn_Time = "1.00"
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
Loop - Actions
Set Variable Set Creep_Point[Temp_integer] = (Position of (Picked unit))
Set Variable Set Temp_integer = Temp_integer
Unit - Set the custom value of (Picked unit) to Temp_integer
Respawn
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Custom value of (Triggering unit)) Greater than 0
Actions
Wait Respawn_Time game-time seconds
Unit - Create 1 . (Trained unit-type) for Player 9 (Gray) at (Center of teste <gen>) facing Default building facing degrees
Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
Add creep respawn
Events
Unit - A unit enters teste <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
Actions
Set Variable Set Temp_integer = (Temp_integer + 1)
Unit - Set the custom value of (Triggering unit) to Temp_integer
Set Variable Set Creep_Point[Temp_integer] = (Position of (Triggering unit))
Initialization
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: O vermelho esta escolhendo as opções do jogo aguarde
Voce quer 250 de gold
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Dialog - Clear MyDialog
Dialog - Change the title of MyDialog to Voce quer ganhar 250 de Gold?
Dialog - Create a dialog button for MyDialog labelled Sim
Set Variable Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for MyDialog labelled Não
Set Variable Set DialogButton[2] = (Last created dialog Button)
Dialog - Show MyDialog for Player 1 (Red)
Sim Button
Events
Dialog - A dialog button is clicked for MyDialog
Conditions
(Clicked dialog button) Equal to DialogButton[1]
Actions
Player - Add 250 to Player 1 (Red) . Current gold
Player - Add 250 to Player 2 (Blue) . Current gold
Player - Add 250 to Player 3 (Teal) . Current gold
Player - Add 250 to Player 4 (Purple) . Current gold
Player - Add 250 to Player 5 (Yellow) . Current gold
Game - Display to Player Group - Player 1 (Red) the text: Você ganhou 250 de gold!!!! BOM JOGO
Nao Button
Events
Dialog - A dialog button is clicked for MyDialog
Conditions
(Clicked dialog button) Equal to DialogButton[2]
Actions
Player - Add 250 to Player 1 (Red) . Current gold
Player - Add 250 to Player 2 (Blue) . Current gold
Player - Add 250 to Player 3 (Teal) . Current gold
Player - Add 250 to Player 4 (Purple) . Current gold
Player - Add 250 to Player 5 (Yellow) . Current gold
Game - Display to (All players) the text: Um idiota tentou nao pegar o dinheiro mais vai ganhar mesmo assim _>_ senao acaba com o jogo _>_ BURROOOOOOOOOOOOOOOOOOOOOOOOO
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.