Search found 396 matches

by Bengalelf
Tue Oct 08, 2013 5:15 pm
Forum: Macros
Topic: help assigning a table value to a property
Replies: 13
Views: 1138

Re: help assigning a table value to a property

Thanks guys I will try that after dinner tonight. When did my project get so hard/ LOL. Anyway, another question, I promise this is an easy one. I have all my character creation macros on the "selected" window. I noticed several other people put them on the "Campaign" window. Is ...
by Bengalelf
Mon Oct 07, 2013 9:07 pm
Forum: Macros
Topic: help assigning a table value to a property
Replies: 13
Views: 1138

Re: help assigning a table value to a property

Code: Select all

[r, if(Force >= 3):OP1= table("Air")]
[r, if(Force >= 6):OP2= table("Air")]
[r, if(Force >= 9):OP3= table("Air")]
is doing what I want. I want to display the random generated powers on a character sheet. How do you keep it from pulling the same value twice?
by Bengalelf
Mon Oct 07, 2013 5:00 pm
Forum: Macros
Topic: help assigning a table value to a property
Replies: 13
Views: 1138

Re: help assigning a table value to a property

Sorry about not being clear...How would I make OP1,OP2, and OP3 all be the same property OP? they are words like "fear" and "guard"?
by Bengalelf
Mon Oct 07, 2013 3:30 pm
Forum: Macros
Topic: help assigning a table value to a property
Replies: 13
Views: 1138

help assigning a table value to a property

I am trying to write a code for Shadowrun. I am developing a code that will represent addition powers spirits have. I have already set up a table called Air with their additional powers. The rules say that for every three levels of force a spirit gets an addition power. I have figured it out up to f...
by Bengalelf
Sat Oct 05, 2013 11:17 pm
Forum: Macros
Topic: what does this code mean?
Replies: 9
Views: 686

Re: what does this code mean?

I believe it only having problem with the tokens called spirits. Here is the error message it is giving me. Macro-defined error: Invalid property type. Set the property type of Spirit of Earth to Token (SR4) For the most part it sounds like I am okay to delete it without worrying to much. Wolf what ...
by Bengalelf
Sat Oct 05, 2013 5:48 pm
Forum: Macros
Topic: what does this code mean?
Replies: 9
Views: 686

Re: what does this code mean?

I tried entering this line of code. [H: validProperties = if(getPropertyType() == "Token (SR4)" || getPropertyType() == "spirit (SR4)", 1, 0)] when I try to run the macro that calls the checkvalidly, I get a error message and Maptool wants me to set the Spirit.sr4 token to a toke...
by Bengalelf
Sat Oct 05, 2013 5:27 pm
Forum: Macros
Topic: what does this code mean?
Replies: 9
Views: 686

Re: what does this code mean?

Yes, they do have different properties. I made them up to represent spirits in shadowrun. I really did not want them to have all the properties that a regular token needs, I felt that would be a waste.
by Bengalelf
Sat Oct 05, 2013 4:29 pm
Forum: Macros
Topic: what does this code mean?
Replies: 9
Views: 686

Re: what does this code mean?

Okay I found the macro but I still am at a lost as to what it does. Here its code... <!-- Initialize variables --> [H: ignoreTokenSelection = if(macro.args=="", 0, macro.args)] [H: tokenIsSelected = if(getSelected()!="", 1, 0)] [H: unloadLibProps()] <!-- Either we are selecting a...
by Bengalelf
Sat Oct 05, 2013 12:31 pm
Forum: Macros
Topic: what does this code mean?
Replies: 9
Views: 686

what does this code mean?

I tried looking it up on the wiki and was unsuccessful in finding anything. [MACRO("checkTokenValidity@this"):""] I found it in veggie's Shadowrun frame, in his "inputint" macro. Now when I run a token-token it works just find. however when I run my homegrown token I ca...
by Bengalelf
Thu Oct 03, 2013 6:42 pm
Forum: Macros
Topic: Putting a table/frame on another table
Replies: 25
Views: 1475

Re: Putting a table/frame on another table

I would have to say my tables are not dynamic then. they are charts and text from pages. I am making them pretty; that is why I will create them in a macro and then delete the macro. Or could I keep it and just not use it, like if I have to fix a typo? Also I am trying to use getlibproperty to get a...
by Bengalelf
Thu Oct 03, 2013 5:40 pm
Forum: Macros
Topic: Putting a table/frame on another table
Replies: 25
Views: 1475

Re: Putting a table/frame on another table

Can I ask what you mean by dynamic? My stack size is up to 12. By changing the firearmstable over to a property I am down to 10. I can always create a table in macro, save it to a property and then delete the macro. correct?
by Bengalelf
Thu Oct 03, 2013 5:31 pm
Forum: Macros
Topic: Putting a table/frame on another table
Replies: 25
Views: 1475

Re: Putting a table/frame on another table

So far this seems to be working. [r:firearmtable] But I can tell it is pulling the property from the current token. A. Is this going to work? And B. when I change it to [r:firearmtable@lib:gm] it doesn't seem to want to call the property. If I do this with all my table will it lower my stack size?
by Bengalelf
Thu Oct 03, 2013 5:15 pm
Forum: Macros
Topic: Putting a table/frame on another table
Replies: 25
Views: 1475

Re: Putting a table/frame on another table

Couldn't I go with

Code: Select all

[r:firearmtable]
also and create the same results?
by Bengalelf
Thu Oct 03, 2013 5:09 pm
Forum: Macros
Topic: Putting a table/frame on another table
Replies: 25
Views: 1475

Re: Putting a table/frame on another table

I cannot seem to get it to work, but I have no line saying

Code: Select all

[frame("myframe"):{htmlBuilder()}]
I just have the table in another marco...
by Bengalelf
Thu Oct 03, 2013 4:42 pm
Forum: Macros
Topic: Putting a table/frame on another table
Replies: 25
Views: 1475

Re: Putting a table/frame on another table

forgive my lack of knowledge... Let's say the property was called "B" How would I write that? Also I would just copy the whole....macro to property B? it is very long.

Go to advanced search