OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: KEVIN_OFP on 26 May 2005, 04:08:02

Title: FLY HIGH
Post by: KEVIN_OFP on 26 May 2005, 04:08:02
Hello my friends, its been a while.  Been busy playing OFP.   Anyways, i have a question.   Is there anyway to make the chopper fly higher so when i eject i dont get injured or killed due to low alttitude. (with AI pilot)

The AI is so realistic in this game that sometimes I feel that i am fighting against humans,  and Super AI is not even set.  Super AI?  my god that is a scary thought, what more Super AI players offer than regular Codet AI?  reach into my pocket and steal my money?  or dance around my dead body laying there after they waste me?

Even after 4 months into playing this game, almost everytime i play this game(same mission) i see something that surprises me,  and surpirses are good in a game.   Amazing.

Thanks,
KEVIN_OFP
Title: Re:FLY HIGH
Post by: Pilot on 26 May 2005, 04:15:50
Put this in the chopper's init field:

Quote
this flyinheight WhatEverHeightYouWant;

Quote
The AI is so realistic in this game that sometimes I feel that i am fighting against humans,
Yes, this is what makes the game so great to play, and so troublesome to us mission and (especially) cutscene makers :P
Title: Re:FLY HIGH
Post by: greg147 on 26 May 2005, 08:07:50
Also, if you want your chopper to start at that height, use this
Code: [Select]
this setpos [(GetPos this select 0), (GetPos this select 1), whateverheightyouwant]
Title: Re:FLY HIGH
Post by: Blanco on 26 May 2005, 11:56:46
Quote
Put this in the chopper's init field:

I could be wrong but I don't think you can use flyinheight in the init field of a unit, I believe you have to it in a waypoint.

Title: Re:FLY HIGH
Post by: Jake Trans on 26 May 2005, 15:45:11
Hi,

Just to say:

Blanco your right but just in my experience I've found that if you want it to fly that high always you put it in the init and set a waypoint.

But if you want it to fly at different heights for different waypoints you put it in the waypoint.