Hi there,
i'm a new suscriber and currently discovering the power of macros. I'm not a developper or anything and must learn everything from scratch. (also i should add that english is not my native language).
Thankfully, the community here is really helpful and i've learned a lot with videos or this forum.
Sadly, i'm totally stuck on this matter : i'm trying to set a roll query so that a PC could select one of his spells from a list (or maybe even from a table in the chat window, but i'll see this one later).
I've seen another thread on this subject but can't get a solution. The query works, i can see the spells. But when i select a spell, i get a BIG error message in chat, saying that no attribute was found for the selected token. Also my chat window is so screwed after the macro, that i have to erase permanently its history in my game's settings to repair it.
Here is my roll query macro (only two spells from the arcana level 0, just to check the macro) :
?{choose a spell | @{repeating_spells02_$0_spellname02}, @{repeating_spells02_$0_spellmacro02} | @{repeating_spells02_$1_spellname02}, @{repeating_spells02_$1_spellmacro02} }
and here is the macro of the first spell that i choose and that doesn't work:
&{template:DnD35StdRoll} &{template:DnD35StdRoll} {{spellflag=true}} {{name=@{selected}character_name} }} {{subtags=casts [Detect Magic](http://www.dandwiki.com/wiki/SRD:Detect_Magic) }} {{School:=Div}} {{Level:= Brd 0, Clr 0, Drd 0, Sor/Wiz 0}} {{Comp:=V, S}} {{Cast Time:= 1 std action}} {{Range:= 60 ft }} {{Area:= Cone-shaped emanation}} {{Dur:= Concentration, up to [[@{selected}casterlevel2}]] minute(s) (D)}} {{Save:= None }} {{SR:= No }}
{{School:=Div}} {{Level:= Brd 0, Clr 0, Drd 0, Sor/Wiz 0}} {{Comp:=V, S}} {{Cast Time:= 1 std action}} {{Range:= 60 ft }} {{Area:= Cone-shaped emanation}} {{Dur:= Concentration, up to [[@{selected|casterlevel2}]] minute(s) (D)}} {{Save:= None }} {{SR:= No }}
Help me Obi Wan, you're my only hope !
i'm a new suscriber and currently discovering the power of macros. I'm not a developper or anything and must learn everything from scratch. (also i should add that english is not my native language).
Thankfully, the community here is really helpful and i've learned a lot with videos or this forum.
Sadly, i'm totally stuck on this matter : i'm trying to set a roll query so that a PC could select one of his spells from a list (or maybe even from a table in the chat window, but i'll see this one later).
I've seen another thread on this subject but can't get a solution. The query works, i can see the spells. But when i select a spell, i get a BIG error message in chat, saying that no attribute was found for the selected token. Also my chat window is so screwed after the macro, that i have to erase permanently its history in my game's settings to repair it.
Here is my roll query macro (only two spells from the arcana level 0, just to check the macro) :
?{choose a spell | @{repeating_spells02_$0_spellname02}, @{repeating_spells02_$0_spellmacro02} | @{repeating_spells02_$1_spellname02}, @{repeating_spells02_$1_spellmacro02} }
and here is the macro of the first spell that i choose and that doesn't work:
&{template:DnD35StdRoll} &{template:DnD35StdRoll} {{spellflag=true}} {{name=@{selected}character_name} }} {{subtags=casts [Detect Magic](http://www.dandwiki.com/wiki/SRD:Detect_Magic) }} {{School:=Div}} {{Level:= Brd 0, Clr 0, Drd 0, Sor/Wiz 0}} {{Comp:=V, S}} {{Cast Time:= 1 std action}} {{Range:= 60 ft }} {{Area:= Cone-shaped emanation}} {{Dur:= Concentration, up to [[@{selected}casterlevel2}]] minute(s) (D)}} {{Save:= None }} {{SR:= No }}
{{School:=Div}} {{Level:= Brd 0, Clr 0, Drd 0, Sor/Wiz 0}} {{Comp:=V, S}} {{Cast Time:= 1 std action}} {{Range:= 60 ft }} {{Area:= Cone-shaped emanation}} {{Dur:= Concentration, up to [[@{selected|casterlevel2}]] minute(s) (D)}} {{Save:= None }} {{SR:= No }}
Help me Obi Wan, you're my only hope !