Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
OldDoomMapper

ZScript: remove actor

Recommended Posts

Hello all,

maybe a silly question... My zscript explosion actor spawns a dynamic light in this way:

ExplosionLight = PointLight(Spawn("PointLight"));

and manipulate it during the explosion itself. 

Than the explosion sequence comes to an end, but the light is still there... How can I remove it? Yes, I could reduce the size to zero, or deactivate it, but many many explosions would fill the map of unused lights, and I fear this is not good. 

Thank you!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×