Jump to content

Recommended Posts

I have an idea using Lua Script, but not sure exactly what return value research and return value var are, and how to appropriately use them.

Script:

myTarget = UnitCreatureType("target")
If myTarget == "Humanoid"
     return true
else
     return false
end

 

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
×
×
  • Create New...