Jump to content
Sign in to follow this  
1para{god-father}

Some help with a Script

Recommended Posts

If somone could help me with this?

When I enter a trigger smoke is popped and a heli lands with a VIP in it he then gets out and goes to a certain waypoint

I have tried this in the editor but have no idea how I would get the VIP to move when he is unloaded so I presume I need to use a script for this instead of the editor.

I would really appreciate some help , is this possible to do ?

thanks

Share this post


Link to post
Share on other sites

Have you managed to do everything but get the VIP to move? If that's the case try this.

You could place an empty marker at the location where you want the VIP to move to. Then use

VIP domove getmarkerpos "MARKER NAME"

I'd also use this

VIP forceSpeed 1.6

This will make him walk rather than run.

Share this post


Link to post
Share on other sites

Hi yes the only other issue is getting the VIP out of the heli when it is landed I tried Eject but that does not seem to work.

Thanks for the forcespeed ill try that out now

Cheers

Share this post


Link to post
Share on other sites

I use this to get AI out of a chopper, there's probably an easier way but this works for me.

Place an invisible H at the landing site and name it PAD. Place a trigger over it but with the condition

VIP distance PAD < 5

Then in the activation field put:

unassignVehicle VIP; VIP action ["Get out", Name of helicopter]

Share this post


Link to post
Share on other sites

works like a charm !

Thanks all

---------- Post added at 03:13 PM ---------- Previous post was at 02:23 PM ----------

I think I spoke to soon, I tested it with a static heli , but when i try and do this with my inbound heli that just landed he sits there like a lemon and will not get out or eject ?

In the Heli if i put the Special : cargo it works if i use Special : Flying it does not work ?

Any idea ?

Edited by psvialli

Share this post


Link to post
Share on other sites

Try increasing the distance from < 5 to < 15.

You might have to add a few seconds countdown to the trigger so the VIP doesn't jump out too soon.

Share this post


Link to post
Share on other sites

Not sure, I've just tested it and it works fine for me.

How are you making the VIP move in the helicopter?

VIP moveincargo heli?

Share this post


Link to post
Share on other sites

yes VIP moveincargo heli, I have it working but i have to wait a little for the heli to take off which is not to much of an issue so thanks for your help at leats it works

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  

×