![]() |
Hello,
A while ago, I asked Godspeed about the team organization script used in the CS matches, and he said that the script was NPC Server based. Anyway, I'm planning on creating a large sparring arena (much like The Sparring Place, but hopefully utilizing g2k1's capabilities) that features tag-team type rooms. I've already planned the thing out and designed some of the graphics, but in order to bring the level to life I'll need to be able to: 1) Set a variable/string to a specific player or group of players. As in if I assign a string/variable to Player A, I can be sure that when I manipulate the properties of that string, I'll be manipulating Player A's properties, and no other player's. 2) Level-to-level communication. If a specific number of players are in a sparring room, no one else can fight in that room. Tyhm gave me a script similar to this for The Sparring Place, but unfortunately, the only way to code such a script is by using the NPC Server. I sent Stefan an e-mail about this, and hopefully he has replied. If you can tell me how I'd be able to apply these things into my level, that would be great If you'd like to obtain more specific information about my level, just contact me via forum messaging. |
Godspeed, you and your merry men think about everything. :D
|
Simple
with (players[i]) { set ...; unset ... setlevel2 ...; setplayerprop #n,Stefan (Team A); // or simplier: setplayerprop #g,Team A; } For 2.: you can have a client-side script which doesn't let the player fight until the player has a special tag or so |
Ok, thanx.
|
| All times are GMT +2. The time now is 11:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.