HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Victory Help

12-23-2002, 01:51 AM#1
Jitb
Hi, I'm 99% done with my map, just need help on one thing. How do you make it so when 1 player gets 10 points on the scoreboard, that player will win? Thanks in advance.
12-23-2002, 02:05 AM#2
Phil_123
event: whatever event that makes a player get point(s)
condition: whatever you want to check
action:
set PlayerPoints[triggering player number] = PlayerPoints[triggering player number] + 1
--- add the following ---
if (PlayerPoints[triggering player number] >= 10) then (victory - (triggering player)) else do nothing