OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jester on 25 Jan 2003, 15:34:58

Title: Script request if not already done
Post by: Jester on 25 Jan 2003, 15:34:58
In my intro scene I have 4 guys standing around the flag pole saluting a custom flag made by me. My idea was to raise the flag to the top of the pole starting at the bottom of course.  ;)
Title: Re:Script request if not already done
Post by: cpt.Hawkeyez on 25 Jan 2003, 22:18:16
Easy just use the setpos command to slowly raise the flag small incrememnts at a time I think toadlife did something like that with a human so just try that on the flag.
Title: Re:Script request if not already done
Post by: Jester on 02 Feb 2003, 16:03:58
Ok that sounds cool, but,

1.) How do you even start a script.

2.) Would I put a loop in there to cease alot of typing.

3.) Will the flag be rigid on the way up?

4.) What is the command line? this SetPos[getpos this select 0,getpos this select 1,DesiredHeight]