OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: chrisb1220 on 04 Sep 2002, 04:16:19

Title: Damaged stuff and other
Post by: chrisb1220 on 04 Sep 2002, 04:16:19
I have 2 questions.
First, is there a init code 2 make something destroyed without it exploding at the start of the mission?
Last, how can I change a players rating when he steps inside a trigger?
Title: Re:Damaged stuff and other
Post by: SEAL84 on 04 Sep 2002, 04:19:41
1.  Put this setfuel 0 first, then the setdammage command

2.  Group the trigger to the guy, then select "vehicle" from the pull-down menu that usually says radio this and that...then in the on activation field use the addrating command.
Title: Re:Damaged stuff and other
Post by: Kaliyuga on 04 Sep 2002, 04:20:47
1) Remove all ammo and fuel from the vehicle first, then use setdammage 1.0

2) unitname addrating x  in the on activation of your trigger, with the unit grouped to the trigger, and the proper activation chosen for the situation ;)

*EDIT* Damn I need to type a little faster next time.. LOL ;D
Title: Re:Damaged stuff and other
Post by: chrisb1220 on 05 Sep 2002, 01:27:49
Ok thx.

prob sloved!
Title: Re:Damaged stuff and other
Post by: zsa_zsa_rasputin on 05 Sep 2002, 12:37:19
well click the solved button then!  ;)

Dan  ;D
Title: Re:Damaged stuff and other
Post by: chrisb1220 on 06 Sep 2002, 00:17:47
Oops! ;D
I was but then I forgot! ;D