Light's as entity.

Posted By: NL_3DGS_n00b

Light's as entity. - 06/02/08 18:57

When I have a map, with 30 light models for example, and I want to be able to interact with each individual light, do I have to make 30 functions?
Isn't there any easier method?
I rather want to have 1 action, which I can assign to every light, and then be able to shoot at the lights to make them go out.
How can I make something like this?

Thanks.
Posted By: Quad

Re: Light's as entity. - 06/02/08 20:28

ever heard of events?

See events. And use a action like when a light model got hit by a bullet, fade it out. You can use same action for all lights, it will run for each light seperately. make use of my(me) pointer
© 2023 lite-C Forums