Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: Identifying players



Posts: 338
Registered: 9-4-06
Location: Yorke Peninsula, Sth Aust
Member Is Offline

Mood: STILL hunting Kev!

[*] posted on 26-4-08 at 10:51
Identifying players

This information might come in handy for some of you mappers. It's a work in progress that Amp is doing and the following is a quote from him.

If anyone finds this useful or can add to it, please head over to novamappers and share

Ive been doing some testing in scripting to idetify specific players.
In hopes for others to persue i will post what i have found so far.
For MED one rule is to make sure all AI in the map a sequential.
ex; 240 ai the id must be from 1 to 240 to work properly.
On a dedicated server the human players that join will receive the following ids
1st player = 241
2dn player = 242
ect ect ect........

if never then
v255 = 0

if ssndead(player) and false(v255) then
v255 = player
text#("Player has died",v255)

if chain(1) and ssnalive(v255) then
text#("Player is alive",v255)
v255 = 0

Each time a player dies v255 will display his id

It seem to work for all types of commands. Think of the things that can be done.
If you have some scripting on this subject post your results and share.

View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger

  Go To Top

Powered by XMB
Developed By The XMB Group © 2001-2008