HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

triggers for my new map help

11-23-2002, 09:07 PM#1
SkylineGT[FB]
my map is based on the game that little kids love... hide and go seek. but i dont know:
1. how to choose a random player to be it like in murder at the mansion.
2. i want a messege that is dissplayed that tells all of the players who is it and then counts from 1 to 10 and sayes "ready or not here i come!"


can some one please help me?
11-23-2002, 10:02 PM#2
MicrosoftXP
game - text message to all player the text (player name (random player from player group(all players))) + is the murderer!

game - text display 10
wait 1.00 sec
cinematic clear text messages
game - text display 9

etc.

you may have problems with multiple wait function in one trigger..
either make more or find another solution
11-23-2002, 10:14 PM#3
Guest
For Q2:

You could create a tag (item) for all the players who "seekers".

Then

Event: Periodic event (?)

Condition: Player got item (tag)

Action: Pause unit
Create timer, countdown 10

New trigger:
Event: "timer" expires

Action: Unpause unit

---I haven't tested this.
11-23-2002, 10:43 PM#4
Kerry
Okay first to pick 'it' do like this:
Make a player group variable named It

Event - U choose urself

Actions

Player Group - Add random player from (all players) to It
Player Group - Pick all players in (all players) and do Game - Display to (all player) the text: (use concatenate strings for this)
In string 1 choose (name of (random player in It)) + String 2: is it, go hide!

Then do like that:
Quote:
game - text display 10
wait 1.00 sec
cinematic clear text messages
game - text display 9

etc.


I tested it with computer players and that didnt work but maybe it will with user controlled... try it.
11-24-2002, 06:48 PM#5
SkylineGT[FB]
hopefully this will work...
11-24-2002, 07:53 PM#6
Kerry
Yes hopefully.