I need mode triggers

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
Read one of the many tutorials on how to make dialogs, then use the Dialog Button - A Dialog Button Is Clicked Event, and thewn alter the game settings that way, for example say you want to add 40 lives if easy is sleected then you set the varibale EasyLives to 40.

-Frank :cool:
 

t1ghi2db

Member!
Joined
Apr 16, 2004
Messages
20
Reaction score
0
Location
Oklahoma
... ill just tell u . . . create a trigger
1) Event - Total Time Is 0.01 Seconds
2) Action - Dialoge - Create
3) Action - Dialoge - Add Button Named (blah blah blah)
Then Create a variable with Dialoge Button type then add the below actions to the same trigger
4) Action - Set Variable - (name of var)(#) = Last Created Dialoge Button
(then repeat steps 3-4 for all buttons)
Action - Dialoge - Show Dialoge for all players
that is all u need to create a dialog Thne create a new trigger
1) Event - Dialoge button is clicked
2) Condition - Clicked dialoge equal to (name of var)(#)
(create a new var labbled w/e with type intiger with a array of how many buttons u have)
3) Action - Set Variable (name of ^^ variable)(array) =
(name of ^^ variable)(array) + 1
4) Action - Hide Dialoge (last created Dialoge) for triggering player
Then repiate the last 1-4for eatch button.
then add a trigger that will deside witch won
1) Event - Elapsded time - equal to (seconds of vote time)
2) Action - Hide Dialoge for all players
3) Action - If/Then/Else - If (last variable u made)(1) equal to math - more than (last variable u made)(2) - Then - run trigger (1win)
4) Action - If/Then/Else - If (last variable u made)(2) equal to math - more than (last variable u made)(1) - Then - run trigger (2win)
1 WIN TRIGGER
1) Action - set cariable (level dificulty var need to make a var with intig type for this) = 1
2) Action - Game - Text - (replace this with your words)
2 WIN TRIGGER
1) Action - set cariable (level dificulty var need to make a var with intig type for this) = 3
2) Action - Game - Text - (replace this with your words)
then all u need to do is have the dif var set in with your game so that it will change the difficulty level
 

twinturbo313

Member!
Joined
Aug 24, 2004
Messages
16
Reaction score
0
Location
fl usa
Website
clanhorde.cjb.net
well thats goin to be hard for me to make coz im not so good some triggers so if u dont mind can u make that trigger on a new map and send it to me so i can just copy and paste it plzzzzzzzz
then i can edit it to my map
 

SlayMaximus

Member!
Joined
Dec 29, 2003
Messages
64
Reaction score
0
Location
Virginia
Website
www.riplo.com
This is just an idea, but maybe it would be helpful to have an area (under tutorials or the downloads) where we only post maps with commonly needed routines for people to copy from. Kinda of like an object library. The downloads thread serves this purpose, but it can be a bit disorganized and hard to seprate the wheat from the chaff - I feel we need a thread or download site that is locked so that only the mods can add content after testing the map.

I envision a map named "dialog template" with a trigger named "copy this for dialog box" and a dialog box with choices like "enter text for button one here" and sufficent comments that explain the entire process in the map. That way, for these routine questions, we should be able to simply refer to the map for download.

Of course, people have to be able to download the map, read the comments and triggers, and modify the triggers to fit their map; but let's face it, if they don't have the ability to do at least that much, they are not going to get very far on the map in any event.

I'll try and throw together an example this weekend to see if it works. What do others think?
 

NewPosts

New threads

Top