Jump to content
Sign in to follow this  
norrin

AI respawn/doMove/progressive respawn scripts

Recommended Posts

hello all  

@Norrin  >> help.gif

very nice script!! and pretty work  for AI respawn notworthy.gif

I tried to take your script  bring up the group in the respawn transport uh60 but I didn't succeed in making it

 

I will like to make a respawn AI for 1 pilot and the 2 gunners of the UH-60  

 

can you help me making some example (pbo) for the version Armed 1.05 ?  

please apologize I don't speak the English very well !!

Thanks

Share this post


Link to post
Share on other sites
hello all  

@Norrin  >> help.gif

very nice script!! and pretty work  for AI respawn notworthy.gif

I tried to take your script  bring up the group in the respawn transport uh60 but I didn't succeed in making it

 

I will like to make a respawn AI for 1 pilot and the 2 gunners of the UH-60  

 

can you help me making some example (pbo) for the version Armed 1.05 ?  

please apologize I don't speak the English very well !!

Thanks

Hi Buldog,

I’ve just written something very simple for you.  The mission starts with a UH60MG hovering above your position.  

Shoot it down with your LAW and then wait for the chopper, the pilot and the gunners to respawn.  The gunners might be annoyed that you blew them out of the sky so they might shoot you at this point. When you respawn quickly jump in the back of the chopper and wait and then the chopper will take off and move to the two markers and hover over the city.

You download the UH60 test mission from here

Share this post


Link to post
Share on other sites
Hi Buldog,

I’ve just written something very simple for you.  The mission starts with a UH60MG hovering above your position.  

Shoot it down with your LAW and then wait for the chopper, the pilot and the gunners to respawn.  The gunners might be annoyed that you blew them out of the sky so they might shoot you at this point. When you respawn quickly jump in the back of the chopper and wait and then the chopper will take off and move to the two markers and hover over the city.

You download the UH60 test mission from here

hello  all  

@norrin

 

In this example I will like to put the helicopter flying on waypoints and make it in repetitive action with a delay for waiting the troops embarking.

 

I tried but the helicopter doesn't wait on hélipad   crazy_o.gif

 

Condition to start chooper TAXI after for exemple >> airport_free=true  

2 waypoints marker  veh1_WP1 =  Base (hélipad) ;marker veh1_WP2 = Airport (hélipad)    

it is for avoided when the pilot IA or the helicopter is down the taxi can come back in respawn and continue his job

thanks for any help

Share this post


Link to post
Share on other sites

hi all

I got the ride of this script today yay.gifyay.gif !!! after 3 days of search banghead.gif

I love this game notworthy.gif

here is a script ; I think it's not perfect yet but it work !!

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

; *****************************************************

; ** ARMA Script File

; *****************************************************

;Scripts by norrin Feb 2007

;adapted by Buldog

_unit1 = _this select 0

_pos1 = _this select 1

_grp1 = group _unit1

_array_grp1 = units _grp1

_veh = nearestObject [_pos1, "AIR"]

@ alive _veh

_unit1 moveInDriver _veh

;_unit1 moveinTurret [_veh,[0]]

;_unit1 moveinTurret [_veh,[1]]

_driv1 = driver (_veh)

_driv1 disableAI "Move"

_driv1 disableAI "Target"

?(count crew _veh >= 1): goto "ADDWP"

~1

exit

#ADDWP

_lead1 = leader _grp1

_driv1 enableAI "Move"

_driv1 enableAI "Target"

~1

_grp1 setBehaviour "CARELESS"

goto "WP1"

#WP1

_grp1 move getMarkerPos "veh1_WP1"

@ (_lead1 distance getMarkerPos "veh1_WP1") < 100

~0.5

goto "posa"

#posa

_veh land "land"

~60

goto "WP2"

#WP2

_grp1 move getMarkerPos "veh1_WP2"

@ (_lead1 distance getMarkerPos "veh1_WP2") < 100

~0.5

goto "posb"

#posb

_veh land "land"

~60

goto "WP1"

Share this post


Link to post
Share on other sites

Sorry m8 been away for a little while and haven't been able to check the forums. Sounds like you've got it sorted though - well done let me know if you need any other help.

Share this post


Link to post
Share on other sites

thanks norrin wink_o.gif

now i'm working in individual extraction with radio call for player in undefined location of the map. (script ok)

Pilot (AI respawn) flying to waypoints and if receive a call radio , he change his route for going to individual extraction.

(domove whith check >> I'm working on)

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  

×