Yes or No on Casting?

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Yes or No on Casting?

Post by Neolesh » Sun Oct 10, 2004 3:23 pm

What I'm trying to get is a variable that says yes or no if you're casting..

Such that if you are casting it returns false but if you're not casting it answers true. Closest thing I was able to find was Me.Casting but that returns Null or The current spell being cast.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sun Oct 10, 2004 3:37 pm

0 = false and anything else equals true for any type of conditional... but if you're for some reason anal about it use ${Bool[${Me.Casting}]}

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Sun Oct 10, 2004 4:30 pm

You forgot the .ID part cr4zy.. ${Me.Casting.ID}

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Sun Oct 10, 2004 5:48 pm

Thanks Blueninja, ${Me.Casting.ID} works

FrankJScott
naggy
naggy
Posts: 2384
Joined: Sun Feb 19, 2023 7:11 am

Best Product Website

Post by FrankJScott » Tue Dec 19, 2023 9:38 am

Please try Google before asking about Updated Product Website 9a89a61