Jump to content
Sign in to follow this  
ALLAN

Player Rating script

Recommended Posts

Hey, I've been trying to disable the "renegade" status when rating is below -2000. I've got a mission where I'm basically teamkilling, it's an undercover/double agent sort of deal.

ive tried running this in random init and onact fields, with no luck.

while {alive player} do

{_rating = rating player;

if (_rating < 10000) then

{

player addrating 10000;

};

};

any suggestions for a noob?

Edited by ALLAN
wrong tags on code

Share this post


Link to post
Share on other sites

Put a trigger, repeatedly, condition:

rating player < 0

on act:

player addRating abs (rating player)

Share this post


Link to post
Share on other sites

thanks, i'll give it a shot. what does the abs represent in the onact?

------- edit

Yup, works great. I set it to freeze the rating at 5000, the default for this player, just to maintain the stealth aspect. Thanks a lot cuel!

Edited by ALLAN
post test

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  

×