Jump to content
Sign in to follow this  
Thunder666

dynamic Waypoint ?

Recommended Posts

Hi,

im new with Editing in ARMA2. I try to write a Script with a moving Waypoint via "onMapsingleclick", unsuccessfully at this Moment. Can anyone help me please ?!

Greetings Thunder

Share this post


Link to post
Share on other sites

Hello there.

Better post in the editing forum for more responses etc. ;)

Share this post


Link to post
Share on other sites

Have you tried using Urban Patrol Script by Kronzky?

I use it on any map I edit and it works great. Hope it help.

You can grab it from Armaholic Arma2 files/script

Share this post


Link to post
Share on other sites

High Command already allows this, as does simply being a squad leader. Is this meant to move another group of AI not under your control or something?

Or:

Name your group TROOPS or whatever then:

troops_moved = true;
hint "Click where to move the troops!";
onMapSingleClick "
_wp1 = TROOPS addwaypoint[_pos,0]; 
[TROOPS, 1] setwaypointtype ""Move"";
_mk1 = createMarkerLocal [""mytroopmoveto"", _pos]; 
""mytroopmoveto"" setMarkerType ""waypoint"";
troops_moved = false;
";
waitUntil{!troops_moved};
onMapSingleClick "";

Edited by kylania
Code added.

Share this post


Link to post
Share on other sites

thank u for quick Answers !

ok next Time i tryed in editing Forum but ur Ideas looks good.

@kylania: i need it for a AI Chopper Service with Fastrope. So i try ur script.

Greetings Thunder

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  

×