HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trying to make simple triggers help please

08-05-2007, 02:35 AM#1
Oxalic
I've been trying for awhile, and searched for awhile. I can't get very simple triggers working. It basically plays out like this.

Event:
Map Init

Condition
Player is Playing

Action
Make 1 unit for player at region

I think the condition i am using is broken? I'll attach the triggers for my map. There has to be a better way to do this, and a way that actually works. If the answer is out there just link me! i looked around at the guides but i couldnt adjust them to work in my map.
Attached Files
File type: zipnot working.zip (251 bytes)
08-05-2007, 03:30 AM#2
Naakaloh
Instead of attaching the triggers, why don't you just post the trigger that you seem to be having difficulty with?
08-05-2007, 06:40 AM#3
MaD[Lion]
Man learn to copy and paste trigger here. And ur *.wct file isnt enough for importing trigger... u need the *.wtg too...
08-05-2007, 02:35 PM#4
Oxalic
Quote:
Events
Time - Elapsed game time is 1.00 seconds
Conditions
(Player 1 (Red) slot status) Equal to Is playing
Actions
Player Group - Add (Picked player) to Team1

Quote:
Events
Time - Elapsed game time is 5.00 seconds
Actions
Player Group - Pick every player in Team1 and do (Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Team 1 Select <gen>)
Player Group - Pick every player in Team2 and do (Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Team 2 Select <gen>)
Player Group - Pick every player in Team1 and do (Unit - Create 1 Unit Selector for (Picked player) at (Center of Team 1 Select <gen>) facing Default building facing degrees)
Player Group - Pick every player in Team2 and do (Unit - Create 1 Unit Selector for (Picked player) at (Center of Team 2 Select <gen>) facing Default building facing degrees)
Player Group - Pick every player in Team1 and do (Player - Set (Picked player) Current gold to 500)
Player Group - Pick every player in Team2 and do (Player - Set (Picked player) Current gold to 500)

The 2nd trigger is how i figure out if the player was added to the team.

Team 1 is a Player Group variable with an initial value of empty player group. It is not an array.
08-05-2007, 03:37 PM#5
Naakaloh
Change Picked Player to Player 1 (Red) in the first trigger.

Also use trigger tags instead of quote tags.