Help me please?

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Please Help Me With This Triggure

Post by Black-Hole »

I want to make a triggure like this
Event: Player (name) types a chat message containing ( ) as an exact match
Conditions:
Actions: Enable Trigger

I want that Only i would be able to axcess the Admin commands.

Please help me.
User avatar
trb92
Senior Member
Posts: 132
Joined: February 20th, 2007, 8:40 pm
Title: Random Noob
Location: Canada!!!

Re: Please Help Me With This Triggure

Post by trb92 »

Here you go

Code: Select all

Activate Admin Commands
    Events
        Player - Player 1 (Red) types a chat message containing ( ) as An exact match
    Conditions
        (Name of (Triggering player)) Equal to Insert your warcraft name here
    Actions
        Trigger - Turn on admin commands <gen>
Change Player 1 (Red) to whatever colour should be able to activate cheats if they have your name.
If you knew a woman who was pregnant, who had 8 kids already,
three who were deaf, two who were blind, one mentally retarded, and she had syphilis; would you recommend that she have an abortion?

Answer:
Spoiler:
If you said yes, you just killed Beethoven...
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: Please Help Me With This Triggure

Post by Black-Hole »

But how to do that is the hard part.
How do i do that is what i need to know

lol should have read the whole thing sorry

Hmm... I cant find where the condition is?

*Post merged by JJ*
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Please Help Me With This Triggure

Post by Xantan »

don't double or triple post.


You can use the condition "string" or whatever, then function player name on left, equal to namehere
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Help me please?

Post by Black-Hole »

When my game starts you get to select between 4 races.
When i beta tested it online everyone said that the Race selection Dialog was really cool
But they also said that they would like to be able to pick there own teams.
EX: if they pick Ally to brown They would be allyes of brown and noone else.
EX: If they picked ally of Dark Green they would be allies of dark green and noone else,
So on and so forth.
I was wondering how i could make that selection in a Dialog box that comes before the Race selection Dialog Box.
These would be the teams:
Ally of brown
Ally of dark green
Ally of nobody
Normal (changes nothing)
Random
I was also wondering if you could tell me how to make a trigger that randomly selects a race or ally from the selections.
Please help me
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: Please Help Me With This Triggure

Post by Black-Hole »

I got one more trigger that i want to know how to make.

In a game ive been working there are 5 race selections. One of them is Random. But i dont know how to make a random Selection trigger.

So im asking how to make a Random Selection trigger.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Please Help Me With This Triggure

Post by Xantan »

set variable (make a integer) = random number between 1 and 5

if/then/else

if: integer=1

then: choose race human for player

else: if integer=2

then: choose race undead

etc
GhettoChild
Old Wrinkly Member
Posts: 272
Joined: January 27th, 2007, 4:46 pm
Title: OxyContin
Location: Denver, Colorado

Re: Help me please?

Post by GhettoChild »

I don't really mess with GUI or triggers that much, but I think that you have to make a variable for each button on your dialog. Then I think you have to have an event with a dialoge button being pressed. The rest should be easy with allies and such but you might want to ask Xantan about it, he is good at GUI.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Help me please?

Post by Xantan »

thats exactly what you do, and thats sorta what I said on the other place this guy asked... he is asking all over the place, lol
Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Re: Help me please?

Post by Black-Hole »

I know that already but when the buttons come up. No matter what trigger i make with the allies thing it dosnt change who there allied to.
EX: a player says they want to be allied to Brown Only. so they would click the Brown Only buttone.

But when they pick it my trigger that i made dosnt connect so there alliances dont change. Ive tryed to get the trigger to work with 5 different GUI triggers, but none have worked. thats what im asking for is a working trigger.