Jump to content
Sign in to follow this  
thetrooper

IR Lazer not working when force it on action

Recommended Posts

I'm trying to force my IR lazer on. I'm using the code below but it isn't working? Also the same with the torch.

player action ["IRLaserOn", player];

Share this post


Link to post
Share on other sites

This works:

player removePrimaryWeaponItem "acc_pointer_IR";
player addPrimaryWeaponItem "acc_flashlight";
//then
player action ["GunLightOn", player];
//then
player action ["GunLightOff", player];

IRLaser action does not. AI will use laser during combat with this code but I also can't get player laser to work:

unitName enableIRLasers true;

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  

×