Jump to content
Sign in to follow this  
BraTTy

2 scripting questions

Recommended Posts

I have been playing with and making missions with OFP since the day it came out and I still have 2 unanswered scripting questions.

How can I change rank of my soldier,ingame with a script command?

How do I tell who killed my soldier?

I read before about a "killer" script command and have tried using it several ways with no luck

And I don't see it listed in the ComRef

Share this post


Link to post
Share on other sites

question a: Not possible in my opinion, cause unit is defined in mission.sqm wich cant be changed during mission running.

question b: play around with the "get rating command" This way you can read out if a soldier has hit another one.

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  

×