HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help on button trigger.

01-23-2004, 12:30 AM#1
ak47
I need help on button triggers. I got it set up and followed tutorials. It works but I'm trying it for multiplayer now. I want it to make it happen like they Click the button STORM it creates unit for that player...

I made it work for Unit- Create 1 Panda for player 1 red... How do I make it to make it work for player 2 , player 3, player 4... Do i have to make another duplicate set of variables?!?
01-23-2004, 04:21 AM#2
SektorGaza
if you mean dialog buttons it accepts triggering player. so a player presses dialog button, make 1 panda for the triggering player. but I don't know what tut u followed emote_confused

by the way, shouldn't you ask this in the map development? this forum is specially for usfull triggers :D
01-23-2004, 05:31 AM#3
AllPainful
SektorGaza is correct, replace where you have "Player 1" with "Triggering Player".


SektorGaza, if ak47 followed ANY tut made before 1.13, then it would not have that info because pre 1.13 "Triggering Player" didn't work for dialogs.





I don't mean to sound like a smart *** but here is a copy of the definition of the Repository in case you don't know what it is (and seriously some people don't.)

re·pos·i·to·ry ( P )
n. pl. re·pos·i·to·ries
  1. A place where things may be put for safekeeping.
  2. A warehouse.
  3. One that contains or is a store of something specified.

In other words, for completed triggers an Utilities to be stored for other peoples use.
01-23-2004, 07:10 AM#4
ak47
So triggering player works. I'll try that.
01-23-2004, 07:17 AM#5
SektorGaza
Quote:
Originally posted by AllPainful
SektorGaza is correct, replace where you have "Player 1" with "Triggering Player".


SektorGaza, if ak47 followed ANY tut made before 1.13, then it would not have that info because pre 1.13 "Triggering Player" didn't work for dialogs.




heh I learned something new :)
I only recently made dialog buttons and it worked with triggering player, guess I forgot how it was before
01-23-2004, 09:42 PM#6
ak47
Dialog Buttons are nice. I want to do it like Zoator TD. Where you pick one button and it gives you that unit at the begining of the map.