Location: Yorke Peninsula, Sth Aust
Member Is Offline
Mood: STILL hunting Kev!
posted on 26-4-08 at 10:51
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
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.