OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pazuzu on 22 Jun 2004, 07:18:49

Title: Condition of presence
Post by: pazuzu on 22 Jun 2004, 07:18:49
I've made the condition of presence false for a hummer to make it invisible untill a trigger is switched & makes the condition of presence true & makes the hummer appear...

How do I set the condition of presence true?

What is the syntax?

Thanks
Title: Re:Condition of presence
Post by: Artak on 22 Jun 2004, 09:20:54
If I'm not totally mistaken the condition of presense is checked only at the begining of the mission, so if it's false at the beginning there's no way to get your hummer back.

Use the setpos command instead. Place the hummer to some remote location and place an empty marker at the spot where you'd want the hummer to be. then use   hummername setpos getmarkerpos "markername"   to setpos the hummer.
Title: Re:Condition of presence
Post by: pazuzu on 24 Jun 2004, 01:04:28
Man that worked great...Exactly what I wanted...

Thanks for all the help