Apexx 60 Posted July 20, 2017 Share Posted July 20, 2017 Hi, I didn't see anything in the Creator Spell Conditions if there is a way to check if my target is humanoid? I would like to be able to cast Hamstring if so. Link to comment Share on other sites More sharing options...
Apexx 60 Posted July 20, 2017 Author Share Posted July 20, 2017 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 Link to comment Share on other sites More sharing options...
Zan 99 Posted July 20, 2017 Share Posted July 20, 2017 C# wManager.Wow.ObjectManager.Target.CreatureTypeTarget == "Humanoid" Link to comment Share on other sites More sharing options...
Apexx 60 Posted July 20, 2017 Author Share Posted July 20, 2017 I will test this out. Thank you Zan. Link to comment Share on other sites More sharing options...
Apexx 60 Posted July 20, 2017 Author Share Posted July 20, 2017 Compilator Error: Quote CS0234: The type or namespace name 'Target' does not exist in the namespace 'wManager.Wow.ObjectManager' (are you missing an assembly reference?) Link to comment Share on other sites More sharing options...
reapler 154 Posted July 20, 2017 Share Posted July 20, 2017 @apexx wManager.Wow.ObjectManager.ObjectManager.Me.TargetObject.CreatureTypeTarget == "Humanoid" Pudge 1 Link to comment Share on other sites More sharing options...
Zan 99 Posted July 21, 2017 Share Posted July 21, 2017 That's interesting. I've been using that for pickpocketing on my Rogue on Live. Link to comment Share on other sites More sharing options...
iMod 99 Posted July 21, 2017 Share Posted July 21, 2017 10 hours ago, Zan said: That's interesting. I've been using that for pickpocketing on my Rogue on Live. Target is just the GUID if i'm not wrong and TargetObject will be the WoWUnitObject. Link to comment Share on other sites More sharing options...
Apexx 60 Posted July 21, 2017 Author Share Posted July 21, 2017 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now