Jump to content
Sign in to follow this  
BUNNY

Help with scripts?

Recommended Posts

I used to be ok with ofp scripting, but somehow I seem to do something wrong in arma.

I just can't seem to handle to make units or vehicles move to marker or to object (invisible H).

My script assings pilot to harrier, orderGetIn's but thats it. I tried all kinds of variations of doMove and getPos but I get errors like "generic error" and "error missing )". I looked for examples and comrefs but I can't find suitable script to mod.

I don't get this sad_o.gif

So can please someone write a piece of script how do I make pilot that is assigned and ordered into a harrier fly to a specific marker or object (invisible H) so that I could move forward with my mission?

I would really REALLY appreciate it.

Share this post


Link to post
Share on other sites

well im doing something similar to that....i have the player assigned to a boat then move to a point marked by an invisible H in my intro.

what i did was put this in my introinit.sqs:

_pos = getpos pad1

actor commandmove _pos

pad1 is the name of the invisible H

actor is the name of the player

Share this post


Link to post
Share on other sites

Thanks! I'll try that when I get home. Seems that I'm not that familiar with the new arma commands...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×