Jump to content
Sign in to follow this  
SpaydCBR

Spawned enemy won't shoot me

Recommended Posts

I'm using the following command to spawn an enemy in a mission I'm making.

"O_Soldier_F" createVehicle _pos;

It works fine I can see the enemy, but he won't shoot at me. Can't figure out why. I'm definitely BLUFOR and the spawned unit is definitely OPFOR. I even tried spawning an OPFOR and a BLUFOR unit and they wouldn't shoot each other.

 

What am I missing?

Share this post


Link to post
Share on other sites

Oh nevermind. It appears I'm supposed to use createUnit. createVehicle just spawns a "shell" of a unit that does nothing.

  • Like 1

Share this post


Link to post
Share on other sites

Who did not make that mistake already ... ;)

lol

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  

×