Jump to content
1para{god-father}

Take over AI UNIT script ?

Recommended Posts

Does anyone have a script that will take over AI like in the very old insurgency so you can then play that unit until he get killed then spawn into another unit ?

 

Could not find anything 

 

Cheers

 

 

Share this post


Link to post
Share on other sites
2 hours ago, pierremgi said:

Do you mean like remoteControl ? (see Lou Montana example)

Never saw the remoteControl command before.  Just read the wiki.  What is a good use case for this?   Give driving instructions to an AI unit?

Share this post


Link to post
Share on other sites

Hello guys, just test it! Yes, you can switch to another infantry unit. As said in BIKI, don't forget the camera view and the return ticket when dying. selectPlayer seems also a good option. Have fun testing!

  • Haha 1

Share this post


Link to post
Share on other sites

So how would i say have 2 slots where players can use the select player ?

 

i.e look at the map select any AI unit then take them over ?

Share this post


Link to post
Share on other sites

When placing units in the editor, open up the units attributes.  Check the Playable box for as many units as you want.  And have one unit checked as Player.  When you run the mission you switch from one unit to another.  The option to switch to units is found when you press the T key (I think that is the default key for this).

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

×