Home   Help Search Login Register  

Author Topic: Turn laser pointer ON by script  (Read 4439 times)

0 Members and 1 Guest are viewing this topic.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Turn laser pointer ON by script
« 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)
Fix bayonet!

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re: Turn laser pointer ON by script
« Reply #1 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
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline nikita320106

  • Members
  • *
Re: Turn laser pointer ON by script
« Reply #2 on: 11 Aug 2010, 07:54:42 »
http://community.bistudio.com/wiki/Master85%27s_Sandbox#New_Commands

<Group / Object> enableIRLasers <true / false>

Offline F2kSel

  • Members
  • *
Re: Turn laser pointer ON by script
« Reply #3 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.

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: Turn laser pointer ON by script
« Reply #4 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.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Turn laser pointer ON by script
« Reply #5 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.
Fix bayonet!

Offline F2kSel

  • Members
  • *
Re: Turn laser pointer ON by script
« Reply #6 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.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Turn laser pointer ON by script
« Reply #7 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!
Fix bayonet!