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

how to add scripts to enemies spawned in via code?

Question

I can't even find if this is possible, let alone how, but basically I have enemies that spawn in to different map spots randomly. that works fine, but I have a script that I want to put on every enemy that spawns in. I can't exactly use the editor to manually put the execute script action on each one and I have yet to figure out how using something like ACS_namedexecute can be triggered on an enemy death. the only thing I found was that putting a script execute action on an enemy automatically triggers it on death... which puts me back where I started. please help! 

almost forgot to mention this is in Ultimate Doom Builder using zscript ACS

Share this post


Link to post

3 answers to this question

Recommended Posts

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
×