View Full Version : Effect name for turning lights off or on
Whats the name of the effect to turn on or off lights in posts and other objects? Or is it not possible?
Whats the name of the effect to turn on or off lights in posts and other objects? Or is it not possible?
Do you meant the lamp post and etc?
To on/off them you can just switch it at the F3>F6 environment editor
( you know, the thing that you edit the skies ) :P
I mean from the scripting part, like if i destroy a generator i want all the tagged lamp posts to go off etc.
Well, I don't know whether there's a effect name for it to turn on of off so if you're lucky, someone might know :)
When you place a post in the map scenario (F2) there is a specified option to make it on/off in the entity menu in the right low corner of the editor.
To turn on/off the light during gameplay via a trigger I have no idea, I'm sorry...
Murmeltier
03-10-2008, 09:44
i only know how to turn them on.Creat a waypoint, set "radius" to 1,creat a new trigger, add scene/spawn to it.Click on spawn/entity, go to fx and selcet a light.Now your abel to spanw that light at your choosen waypoint...
i only know how to turn them on.Creat a waypoint, set "radius" to 1,creat a new trigger, add scene/spawn to it.Click on spawn/entity, go to fx and selcet a light.Now your abel to spanw that light at your choosen waypoint...
This is a good way to simulate an illuminating shell launched by mortars... thanks for the suggestion. :beer2:
Murmeltier
11-10-2008, 11:43
Year i just found out that you can fix the spreading of spawn effects whith chanching the radius of the waypoint :D ! thats awesome now i´ve created a "paratrooper" script which allows me to let them deploy everywhere on the map :hurray:
HOW? :insane:
Like he said, you can change the radius at the waypoint's properties which affects the spawn effects.
I find it useful for random artillery barrages :D
As for the "paratrooper" script, yea it's good to deploy them on specific spots instead of randomness :P
Murmeltier
24-02-2009, 13:55
hy did you find another way for that problem ?
hy did you find another way for that problem ?
yup,its in environement,switch it to nigth to tunr ligth on and day to turn it off.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.