Jump to content
Sign in to follow this  
CaptainBravo

Room with a view: help teleport unit to a window for 30 seconds

Recommended Posts

I have a scenario where I need help with a unit teleporting to a window for 30 seconds. The challange is it has to be precise positioning. I want the unit inside a house standing infront of a window for 30 seconds then teleport out of position again.

The question is how?

Share this post


Link to post
Share on other sites

Place a trigger with radio activation.

On act: copyToClipboard str getPosATL player

Go to the window, activate the trigger and paste the coordinates into your script.

Share this post


Link to post
Share on other sites

Thanks Celery, works perfectly for what I want. Is it possible to add motion, so copy/record motion of 10 seconds of player walking between one window to the next?

Share this post


Link to post
Share on other sites

Tell him to move (e.g. move, doMove) to the position of the other window and with some luck he will go where you want him.

Share this post


Link to post
Share on other sites

Thanks again. AI cabn not be trsuted :)

I see call BIS_fnc_UnitCapture and unitplay. Most I see talking about choppers. Will it work with a soldier I wonder?

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  

×