Jump to content

How do I check if target player is ghost?


Recommended Posts

Hello fellow modders and DST players,

I'm looking to check if a targeted player is a ghost. This is for a resurrection ability on a healing cane I'm working on.

I'd be thankful for any advice! :)

Edited by neahxx
Link to comment
Share on other sites

That sounds like a more efficient way indeed. Thanks, I'll try it.

Edit: Example of how to check if player is ghost. In this case using target as player.

if target:HasTag("playerghost") then

"Stuff here"

end

Edited by neahxx
Example of how to use.
Link to comment
Share on other sites

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
 Share

×
  • Create New...