Jump to content
Sign in to follow this  
GuyMz

AI attack only players

Recommended Posts

What do i need to write in the init of the enemy forces in order them to attack only the player/playable soldies?

i know it is something about naming the players and write something in the init which will say attack only those names.

thank you.

P.S: I saw today in a mission which you can save your current loadout and the next time you spawn you spawn with this loadout. can anyone please give me the script for that.

Share this post


Link to post
Share on other sites

For an enemyunit unit to open fire on the player:

yourEnemyUnit setcombatmode "RED"

yourEnemyUnit dofire player

Share this post


Link to post
Share on other sites

I cant get it to wok killzone, do i need to write it in the description.ext file or in the init of an AI?

Share this post


Link to post
Share on other sites

Ignore my previous suggestion, I re-read your post.. Try adding "this setCaptive true;" in init for the nonplayable friendly units

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  

×