OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Anton VonE on 20 Apr 2003, 05:05:04

Title: Killing civilians and scoring
Post by: Anton VonE on 20 Apr 2003, 05:05:04
Seems like when you kill a civvie, the score goes in the negatives. My problem is that civilians are the enemy in this map, so do I have to go into the mission.sqm file and change their side to east for each and every one of them, or is there an easier way to do this?

Anton
Title: Re:Killing civilians and scoring
Post by: Kaliyuga on 20 Apr 2003, 07:33:31
Command:
AddScore
 
Description:
Adds to score.
 
Syntax
UnitName AddScore Points

 

Points Number of points to add. To subtract points add a negative number.

Example :
Player1 AddScore 10
 
 Try that on for size.....
:toocool:
Title: Re:Killing civilians and scoring
Post by: macguba on 20 Apr 2003, 09:26:36
Group the civvies under an East soldier.    Delete the East leader at the start of the mission.
Title: Re:Killing civilians and scoring
Post by: Anton VonE on 20 Apr 2003, 18:09:35
Schweet! Another problem solved...Thanks to both of you guys!

Anton