OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Crunch on 22 Apr 2003, 01:31:39

Title: Activating a variable from a script?
Post by: Captain Crunch on 22 Apr 2003, 01:31:39
Guess who's back for more questions?     --Captain Crunch!

 How do I activate a variable(of the "Condition Of Presence" box of a Fire), I mean to set the condition of presence to true from a script?

Is this possible, anyone?
Title: Re:Activating a variable from a script?
Post by: LCD on 22 Apr 2003, 01:36:03
wat exactly u r trin 2 do ?

cuz dere is no way 2 use da COP after da misionstarted

LCD OUT
Title: Re:Activating a variable from a script?
Post by: Captain Crunch on 22 Apr 2003, 02:17:03
I have an object (a big fire) that I want to set on but with conditions:


It could be started normally with it's own action (Light Fire) but the fire is too big and starts all round me. It doesn't make it look real and it would be kinda nice for this mission that I put lots of time and efforts!  ;) (In the mission I'm supposed to light the fire to create distraction, to get troops away from a chopper I must steal.)

So I thought that puting the Fire with a condition (v1) and with a trigger activated by me adding an action in my action menu and executing a script that would activate the condition of the object (the big fire) to true and giving me time to sort of dissappear from the crime scene! ;) Like the fire would start burnig the house slowly instead of what it does now.

Can this be done?
Title: Re:Activating a variable from a script?
Post by: LCD on 22 Apr 2003, 02:26:43
i dont understand exactly wat u want ::) (chop it 2 parts, nd tel me wat objects u use ;))

but i sugest u go 2 da ED nd find drop command TUTs - dey wil prooly help u ;)

LCD OUT
Title: Re:Activating a variable from a script?
Post by: mcnorth on 22 Apr 2003, 02:44:59
Did you try VariableName = True

I admit I'm not real clear on what you're trying to do either