OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: raggy99 on 08 May 2003, 01:58:46

Title: i keep getting invalid
Post by: raggy99 on 08 May 2003, 01:58:46
i have this in my int   this plane1 flyinheight 100
however it keeps telling me that the "plane 1 is invalid
how do i fix this
Title: Re:i keep getting invalid
Post by: MadFred on 08 May 2003, 04:25:59
you type it in two different ways, plane1 and plane 1

if the last is what you have then loose the space

make it plane1 or plane_1


Title: Re:i keep getting invalid
Post by: BraTTy on 08 May 2003, 05:13:41
i have this in my int   this plane1 flyinheight 100
however it keeps telling me that the "plane 1 is invalid
how do i fix this

Just put it like this...no name needed,if your putting it in the init line as "this" is the unit:

this flyinheight 100
Title: Re:i keep getting invalid
Post by: Sui on 15 May 2003, 06:16:05
However just bear in mind that the flyinheight command cannot be used from the init line...

So, you will need to use a name, and it must be used in either a trigger or a waypoint ;)
Title: Re:i keep getting invalid
Post by: MadFred on 15 May 2003, 12:50:12
Well I am not trying to be a smartass here Sui,

but FYI: both "this" and flyinheight command in unit's init line DO work as I used it many times before.

I think I remember someone saying that that was changed somewhere along the line in one of the patches to make it work like this.

when in doubt check my example





Title: Re:i keep getting invalid
Post by: Sui on 16 May 2003, 01:49:35
Ooops!  :-[

Thanks for the correction, Mad Fred.

My sincere apologies, BraTTy... I stand corrected.

Geez... what'll they change next aye? I need to keep up with the times ;D