Home   Help Search Login Register  

Author Topic: Its dark! I need light!  (Read 468 times)

0 Members and 1 Guest are viewing this topic.

j-man

  • Guest
Its dark! I need light!
« on: 03 Dec 2003, 08:35:14 »
Ok, I have a loon who walks through a trigger and becomes a Mi24 pilot. Once he becomes the pilot the helicopters spotlight is suppost to turn on. So in the trigger I put:

Quote
heli action ["STR_ACTION_LIGHTON"]

But the light never comes on!  >:(

Whats the problem here?  ???

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Its dark! I need light!
« Reply #1 on: 03 Dec 2003, 12:31:11 »
The pilot must be in the chopper and setBehaviour safe or careless.

I think the action doesn't work.   Even if it does, you have to decode the action list to get the right thing.   It would not be STR_ACTION_LIGHTON it would just be LIGHTON.    The str action bit is to identify lighton as a string and an action.     It doesn't have to be upper case -  in general OFP commands are not case sensitive.
Plenty of reviewed ArmA missions for you to play

j-man

  • Guest
Re:Its dark! I need light!
« Reply #2 on: 04 Dec 2003, 01:31:59 »
Thnx, i got it to work  ;D