The picture above is the actor events for a floodlight. What I am trying to accomplish is simply turning the lights off. From the picture you can see the blue highlight of "Signal.*.LightPowerDown" well, I do not know how to invoke this signal so the "AnimGroupApply Unpowered" is applied. I've tried send message trigger with signal but do not know what to write for a signal name. Also I've tried changing the event from Signal to ActorCreation, leaving the same conditions, and no luck. I can't figure out for the life of me to turn off the stupid lights, someone please help!
I just found this thread looking for answers to the same problem.
After some poking around I found what I think is the best option (assuming you have lots of lights to handle) which I'll note down in case anyone else needs it:
The way it works in the campaign mission is to use the Action "Send Actor Message To Game Region"
Set the actor message to be "LightPowerDown" and "LightPowerUp" (depending on whether it's daybreak or nightfall) and the region to be "Entire Map".
You can slip these Actions into the Triggers that handle the rest of your day/night transition. It's much easier and cheaper code-wise than doing one Action for each light.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The picture above is the actor events for a floodlight. What I am trying to accomplish is simply turning the lights off. From the picture you can see the blue highlight of "Signal.*.LightPowerDown" well, I do not know how to invoke this signal so the "AnimGroupApply Unpowered" is applied. I've tried send message trigger with signal but do not know what to write for a signal name. Also I've tried changing the event from Signal to ActorCreation, leaving the same conditions, and no luck. I can't figure out for the life of me to turn off the stupid lights, someone please help!
thanks mate! works
I just found this thread looking for answers to the same problem.
After some poking around I found what I think is the best option (assuming you have lots of lights to handle) which I'll note down in case anyone else needs it:
The way it works in the campaign mission is to use the Action "Send Actor Message To Game Region" Set the actor message to be "LightPowerDown" and "LightPowerUp" (depending on whether it's daybreak or nightfall) and the region to be "Entire Map". You can slip these Actions into the Triggers that handle the rest of your day/night transition. It's much easier and cheaper code-wise than doing one Action for each light.