OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Xai on 23 Feb 2005, 20:08:38

Title: Two simple scripts needed
Post by: Xai on 23 Feb 2005, 20:08:38
Hi again guys. Had a quick look and couldn't find either of these scripts around on the site:

1. How to select the owner of a flag (i.e: whose flag shows up).
2. How to make an NPC salute indefinately (needed for a video).

I thought I knew the flag one but, the script I tried didn't work. I thought it was something like: 'this flagowner WEST' but that didn't work.
Title: Re:Two simple scripts needed
Post by: bedges on 23 Feb 2005, 21:15:30
two simple answers:

http://www.ofpec.com/editors/comref.php?letter=F#flagowner (http://www.ofpec.com/editors/comref.php?letter=F#flagowner)

loon_name playmove "EffectStandSaluteStart"

tada.
Title: Re:Two simple scripts needed
Post by: Xai on 23 Feb 2005, 21:33:38
Thanks! :)
Title: Re:Two simple scripts needed
Post by: rhysduk on 24 Feb 2005, 00:06:51
Amazing what people can do with searching :)