spawned light sometimes dispaer
Moderator: Moderators
spawned light sometimes dispaer
I have big problem, my spawned light sometimes hides when i change player view angles...... how can i spawn working light, i need it for lightswitch...?
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
You could create the lit up area twice as a script_object. One part, that is outside your level limits (not outside the world limits), is lit up by static lights while compiling the map, the other part is not lit up.
If you hit the lightswitch trigger, hide the dark script_object and move the lit up object to the place where the dark object was, if you turn off the light just reverse that process...
If you hit the lightswitch trigger, hide the dark script_object and move the lit up object to the place where the dark object was, if you turn off the light just reverse that process...
...waking up in the middle of the night with your hands covered in blood and you have no idea what happened.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:

