HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Special Leaderboard

12-04-2002, 02:34 AM#1
Zero
Ok I set up a leaderboard and have a few questions:

One - Can you make it so the leaderboard says the players name and there is no 0 on the far right?

Two - I am trying to use a leaderboard for skiping the intro to my map. So I have a trigger set up so if player skips intro cinematic then the players name is changed in the leaderboard to "Skip Intro." Well that was easy. Now the thing I can't figure out is how in the hell do I set up a trigger that makes it if both players have skiped a cinematic then the cinematic ends. I can't find a condition that says "Player X's name in leader boarder = Skip Intro" (All players name's equal that) then skip the intro cinematic. I tried a condition that said "Name of player X = Skip Intro" then skip intro cinematic. This failed horribly :(

Help me plz :(
12-04-2002, 02:56 AM#2
Guest
Create a variable array for the players for whether they have skipped the intro or not. Then, when each player skips it by pressing esc, check each player and if they're all set to yes (meaning they've skipped), then end the cinematic.
12-04-2002, 03:05 AM#3
Zero
Ok thanks, but could you show me how to set it up? Please??

Like be more specific. IT would help out out alot :D
12-04-2002, 03:43 AM#4
ph33rb0
I'll help you out if you change your sig. Hypocrite.
12-04-2002, 04:02 AM#5
DKSlayer
I like his sig, Hypocrite nothing. There is a difference between being a moron and not knowing how to trigger.
DKSlayer
12-04-2002, 05:27 PM#6
Zero
Hey thanks dk :D

I agree totaly. I can do almost everything with map editor, but still learning a few things. You don't have to be an asshole when I ask for some help. I am more of a visual learner and it helps me when I can see how it should look. Fear you should grow up some.

Anyways can some one set up a trigger on this forum to show how it should be done please?
12-04-2002, 08:47 PM#7
The_Cyberdemon1
Okay, i have to agree with DKslayer. You may be the ultimate expert in the world editor, and the SC star edit, but you may be horrible at triggers in this. Triggers are extremely complicated. Now that that is said, here's your trigger:

Event:
----Player 1 skips a cinematic sequence
----Player 2 skips a cinematic sequence
Condition:
----[boolean comparison] Skipped[(player number of (triggering player))] is equal to false
Action:
----Set variable Skipped[(player number of(triggering player))] = True
----Change the name of (triggering player) on current leaderboard to INTRO SKIPPED

Skipped is a boolean variable ARRAY
There is how they skip first

Event:
----Every 2 seconds of game time
Condition:
----Skipped[1] is equal to true
----Skipped[2] is equal to ture
Action:
----Turn off cinematic mode for player 1
----turn off cinematic mode for player 2

That will just turn of cinematic mode, you can add the rest of the actions for when the cinematic is skipped. That will check the players and everything.
12-05-2002, 03:17 AM#8
Zero
Hey thanks alot :D

Now time for testing...
12-05-2002, 12:51 PM#9
The_Cyberdemon1
If you need it, i can make the trigger in your map.