Jump to content
Sign in to follow this  
hudler01

Playernames and killers?

Recommended Posts

Hai guys.

I have 2 questions:

a) There must be an internal list/aray/variable on the server that contains the names of human players. Does someone know a way to access that?

b) Also OFP registers the killer of another one - the scoring depends on that. Is there a way to get this information / to access that variable?

any reply appreciated

thx

Hudler

p.s.:Is it possible that OFP is slowly dieing? There arent much guys roaming around small servers. There have been more a few months ago...

a shame

bye

Share this post


Link to post
Share on other sites

a) UnPBO an MP mission which does this and look at what they did, all the info is out there you just need to look.

b) If you mean work out who killed who with a script I don't think it is possible (as far as I know)

RED

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (RED @ Oct. 02 2002,11:24)</td></tr><tr><td id="QUOTE">b) If you mean work out who killed who with a script I don't think it is possible (as far as I know)<span id='postcolor'>

Yes, there is no function currently that will do this. This has been mentioned to BIS already, you can look for a thread that includes "whoHit" or "whoKilled" to have a look at past conversations.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">a) There must be an internal list/aray/variable on the server that contains the names of human players. Does someone know a way to access that?

<span id='postcolor'>

if you want to display the name of the player type tjis in the on activation box in the trigger:

a sidechat format["Hey %1!! wanna fight", name trgt]

a globalchat format["Hey %1!! wanna fight", name trgt]

a groupchat format["Hey %1!! wanna fight", name trgt]

titletext [format["%1", name a1],"PLAIN"]

trgt is the name of the unit ,%1 is where the name is displayed.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×