OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Pacifica on 13 Sep 2002, 19:39:51

Title: Hey cmon guys i really need some help here
Post by: Pacifica on 13 Sep 2002, 19:39:51
Alrite, Guys..... Is it possible 2 make a scoring system where if 1 person (the leader) is killed the team gains a point, if anyother players (exept for the leader) are killed 0 points are awarded?
Title: Re:Hey cmon guys i really need some help here
Post by: Kaliyuga on 13 Sep 2002, 19:49:03
Well.. I'm not quite sure exactly what ya mean by that, though I'm kinda assuming your talking about a multiplayer game? If so.. you might have better response in that forum ;)

But in regards to scoring you can use this little piece of code:

unitname addscore points

you could then make a script with all your scoring options in it .. or make some triggers with different conditions that correspond to different point values

(negative numbers work here too)
Title: Re:Hey cmon guys i really need some help here
Post by: Wolfrug on 13 Sep 2002, 20:32:51
#Old battered moderator cap

Moved from General Editing. Just so you know.  ::)


Wolfrug out.
Title: Re:Hey cmon guys i really need some help here
Post by: Pacifica on 14 Sep 2002, 04:12:00
like what kinda scripting do i use im useless at scripting, what does that Quote u posted do?