Jump to content
  • 0

how to add scripts to enemies spawned in via code?


TheDanMarine

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...