Jump to content

Detect monster type(s)


c0deNull

Recommended Posts

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?

Share this post


Link to post

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 by Rifleman

Share this post


Link to post

Join the conversation

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

Guest
Reply to this topic...

×   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...