Option "1" (self cast) in scripts is not working.

Option "1" (self cast) in scripts is not working.

by Dc PvP » Fri Jan 08, 2016 9:43 pm

Greetings friends!

I have a problem: any script with option "1" (self cast) ignores this option and casts the spell on targeted player.

Example script: /script CastSpellByName('Blessing of Freedom', 1) (it should cast blessing of freedom on caster even when friendly target is targeted, but it doesn't - it casts the blessing on my target)

I didn't have this problem on retail vanilla or other private vanilla servers.

Thank you for any help or advice :)
Dc PvP
Grunt
Grunt
 

Re: Option "1" (self cast) in scripts is not working.

by LYQ » Sat Jan 09, 2016 10:11 am

Dc PvP wrote:Greetings friends!

I have a problem: any script with option "1" (self cast) ignores this option and casts the spell on targeted player.

Example script: /script CastSpellByName('Blessing of Freedom', 1) (it should cast blessing of freedom on caster even when friendly target is targeted, but it doesn't - it casts the blessing on my target)

I didn't have this problem on retail vanilla or other private vanilla servers.

Thank you for any help or advice :)


maybe some other AddOn is causing this issue.

try it by disabling all addons and use the macro once to check
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)
User avatar
LYQ
Sergeant Major
Sergeant Major
 

Re: Option "1" (self cast) in scripts is not working.

by Colezz » Sat Jan 09, 2016 12:22 pm

Any self cast macros I just do like

/target (me)
/cast (spell)
/targetlasttarget

Can't remember exactly but works like a charm
Colezz
Stone Guard
Stone Guard
 

Re: Option "1" (self cast) in scripts is not working.

by Dc PvP » Wed Jan 13, 2016 5:55 am

LYQ wrote:
maybe some other AddOn is causing this issue.

try it by disabling all addons and use the macro once to check


Nothing changes even when i disable all of my addons.
Dc PvP
Grunt
Grunt
 

Re: Option "1" (self cast) in scripts is not working.

by Dc PvP » Wed Jan 13, 2016 5:59 am

Colezz wrote:Any self cast macros I just do like

/target (me)
/cast (spell)
/targetlasttarget

Can't remember exactly but works like a charm


I am using something similiar as a work-around, but i am still curious why option "1" isn't working. Due to this problem i have to write much longer scripts.
Dc PvP
Grunt
Grunt
 


Return to Addons & macros