HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

World editor help plz

10-17-2004, 06:49 PM#1
Spybloom
Ok, here's the spiel deal:
How do you do the triggers for repick and random?
There are other questions, but i can't remember any of them right now. Plz answer that one, i have no clue
10-18-2004, 07:27 AM#2
player_72985
For repick,
Event: Player (1) type a chat message equal to: -repick
Condition: (choose string w/e) Equal to: -Repick
Action: pick every unit in units owned by Player (1) (here come the tricky part) if entered string value -repick equal to true then do unit create 1 (hero picker) for Player(1) else do nothing.

Ok, I have no idea if I even did that right, I'll check it out later
10-18-2004, 08:46 PM#3
Spybloom
Quote:
Originally Posted by player_72985
Action: pick every unit in units owned by Player (1) (here come the tricky part) if entered string value -repick equal to true then do unit create 1 (hero picker) for Player(1) else do nothing.

Ok, I have no idea if I even did that right, I'll check it out later

Umm.. yeah could you specify what action it is as in what the name of the action in the drop down menu is I can't find anything.
10-18-2004, 08:51 PM#4
-={tWiStÄr}=-
people need to stop asking for exact functions. peoples maps are being made by the trigger forum.. Pick Every unit. that would be selecting a lot of units, or a group! UNIT GROUP! but neways, back to youre question, it depends on how you did youre select system. like for my system, repick would be super complex. for others it could be very simple. so i cant help unless i see your normal picking system.
10-18-2004, 08:55 PM#5
Spybloom
Quote:
Originally Posted by -={tWiStÄr}=-
people need to stop asking for exact functions. peoples maps are being made by the trigger forum.. Pick Every unit. that would be selecting a lot of units, or a group! UNIT GROUP! but neways, back to youre question, it depends on how you did youre select system. like for my system, repick would be super complex. for others it could be very simple. so i cant help unless i see your normal picking system.
Can you tell me your sn? I could host the map and you could see
10-18-2004, 09:33 PM#6
-={tWiStÄr}=-
twistar on us west
but triggers would do also.
10-18-2004, 10:00 PM#7
Gandalf2349
Quote:
Originally Posted by player_72985
For repick,
Event: Player (1) type a chat message equal to: -repick
Condition: (choose string w/e) Equal to: -Repick
Action: pick every unit in units owned by Player (1) (here come the tricky part) if entered string value -repick equal to true then do unit create 1 (hero picker) for Player(1) else do nothing.

Ok, I have no idea if I even did that right, I'll check it out later

You had 3 different conditions there that do the same thing:

Event: Player (1) Types a chat message that is exactly (-repick)
Actions: Remove Player (1)'s hero
Give him a hero picker.

That's all you need.
10-19-2004, 01:50 AM#8
Spybloom
Ok, the repick thing doesn't work. Sorry tWiStAr. I don't know what happened. Probably screwed up with an action.