Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Capture The Flag (https://forums.graalonline.com/forums/showthread.php?t=36467)

bigkow44 08-23-2002 12:08 PM

Capture The Flag
 
Who can help me with the main room for CTF, where it would count players on each side of the room dividing at the x 30.5; blue team on right, red on left. any help?

Python523 08-23-2002 12:34 PM

run a for loops with playerscount and use in to get how many people on a side, and use 2 vars, or 1 var array to keep track of who's on a side

bigkow44 08-23-2002 12:46 PM

I dont know how to use arrays :(

bigkow44 08-23-2002 01:18 PM

ok but i need help with using playerscount with an X, I know how to use vars. i would just have to do this.redcount= the index of players on the left side, this.bluecount= index of players on the right side. but then again what about strings and stuff for warping them


All times are GMT +2. The time now is 02:55 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.