c0deNull Posted September 24, 2021 Hey, I have an idea for a map: cloning lab. Idea in a nutshell: when monster walk over certain line def ("when monster walks over" -tag enabled), it will spawn monster of it's own type on a map spot. Problem: how to detect monster type? Is there a way to detect what monster type crossed the line def and change line def parameter to that monster type? 0 Quote Share this post Link to post
Rifleman Posted September 24, 2021 (edited) I think this is what you look for: GetActorClass Set it to 0 and it will check the class of the monster that activates the script by crossing the line. Edited September 24, 2021 by Rifleman 0 Quote Share this post Link to post
c0deNull Posted September 24, 2021 Yes indeed. I managed to set up everything by following this: https://zdoom.org/wiki/CheckActorClass 1 Quote Share this post Link to post
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.