OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: bardosy on 03 Aug 2010, 12:35:15

Title: Turn laser pointer ON by script
Post by: bardosy on 03 Aug 2010, 12:35:15
In OA you can turn ON your weapon laserpointer. But how can I turn ON a non-player driven unit's arm pointer?

(bonus question: where can I found the new commands or possibilities for OA? Eg: using ULB, insert loading picture for missions, status of independence frienship in a campaign.... etc)
Title: Re: Turn laser pointer ON by script
Post by: nominesine on 03 Aug 2010, 13:28:36
I only know the answer to one of the bonus questions...

http://forums.bistudio.com/showthread.php?t=104552
Title: Re: Turn laser pointer ON by script
Post by: nikita320106 on 11 Aug 2010, 07:54:42
http://community.bistudio.com/wiki/Master85%27s_Sandbox#New_Commands

<Group / Object> enableIRLasers <true / false>
Title: Re: Turn laser pointer ON by script
Post by: F2kSel on 11 Aug 2010, 12:44:50
Is there an example of it actually being used, I've tried both the laser and torch commands in a units init and waypoint without any effect.
Title: Re: Turn laser pointer ON by script
Post by: kju on 12 Aug 2010, 07:30:16
Quote
this EnableIRLasers true;

Unit init. from BI OA missions.
Make sure you use weapons with lasers. They are only a few.
Title: Re: Turn laser pointer ON by script
Post by: bardosy on 12 Aug 2010, 08:51:34
Thank you very much!


@F2kSel: the AI not always use the laser... But if they got an order to use, they use, when saw enemy... In a peaceful march they turn it off.
Title: Re: Turn laser pointer ON by script
Post by: F2kSel on 12 Aug 2010, 14:52:10
I'll take another look tonight but I'm sure they had lasers as they were the same as my unit and I had a laser, all they did was start shooting a jeep with pistols.
Title: Re: Turn laser pointer ON by script
Post by: bardosy on 16 Aug 2010, 08:17:01
I apply it in my mission (turn on laser in my group and two others) and works fine. When we aproaching to the warzone, the lasers are off, but when they saw the enemy the night change to a laser-show.

Thanks!