User contributions for Craig
Jump to navigation
Jump to search
6 December 2008
- 14:5514:55, 6 December 2008 diff hist −19 clearLights →Function clearLights
- 14:5414:54, 6 December 2008 diff hist −19 bringToFront →Function bringToFront
- 01:2201:22, 6 December 2008 diff hist +34 macros:Functions:list of functions →I
2 December 2008
- 01:0001:00, 2 December 2008 diff hist +311 N initiativeSize New page: ==Function initiativeSize== Returns the number of tokens in the Initiative:initiative panel ===Usage=== <source lang="mtmacro" line> [h: num = initiativeSize()] </source> ===Exampl...
- 00:5800:58, 2 December 2008 diff hist +440 N indexValueStrProp New page: ==Function indexValueStrProp== Returns the value from the specified string property list at the specified index. The index for the [[Macros:string property ...
- 00:5800:58, 2 December 2008 diff hist 0 indexKeyStrProp No edit summary
- 00:5700:57, 2 December 2008 diff hist +795 N indexOf New page: ==Function indexOf== {{ProposedChange}} Returns the index of a substring in the specified string. If the substring does not occur within the string then -1 is returned. If you do not speci...
- 00:5000:50, 2 December 2008 diff hist +430 N indexKeyStrProp New page: ==Function indexKeyStrProp== Returns the key from the specified Macros:string property list at the specified index. The index for the Macros:string property list starts at 0. ==...
- 00:4600:46, 2 December 2008 diff hist +532 N if New page: ==Function if== If testCondition evaluates to 0 then the result of falseExpr is returned, otherwise the result of trueExpr is returned. Note: '''both''' trueExpr and falseExpr are evaluate...
- 00:2700:27, 2 December 2008 diff hist +2 hypotenuse Redirecting to Macros:Functions:hypot
- 00:2600:26, 2 December 2008 diff hist +34 N hypotenuse New page: #REDIRECT [Macros:Functions:hypot]
- 00:2600:26, 2 December 2008 diff hist +420 N hypot New page: ==Function hypot== Returns the hypotenuse of a right triangle whos other two sides have a length of sideA and sideB. The formula used to calculate the hypotnese is, h^2 = sideA^2 * sideB^2...
- 00:2200:22, 2 December 2008 diff hist +336 N hex New page: ==Function hex== Returns a string which contains the hexadecimal representation of the number that was passed in. ===Usage=== <source lang="mtmacro" line> [h: hexVal = hex(num) </source> ...
- 00:1600:16, 2 December 2008 diff hist +1 hasProperty No edit summary
- 00:1600:16, 2 December 2008 diff hist +190 N hasSight New page: ==Function hasSight== {{ProposedChange}} Returns 1 if the current Token:token has Token:sight. ===Usage=== <source lang="mtmacro" line> [h: sight = hasSight()] </source>
- 00:1500:15, 2 December 2008 diff hist +255 N hasProperty New page: ==Function hasProperty== {{ProposedChange}} Returns 1 if the Token:token property with the specified name exits on the current Token:token. ===Usage=== <source lang="mtmacro" li...
- 00:1300:13, 2 December 2008 diff hist +14 hasMacro No edit summary
- 00:1300:13, 2 December 2008 diff hist +214 N hasMacro New page: ==Function hasMacro== {{ProposedChange}} Returns 1 if a macro button with the specified label exists on the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: hasM...
- 00:1100:11, 2 December 2008 diff hist +67 hasLightSource No edit summary
- 00:0800:08, 2 December 2008 diff hist +1,454 N hasLightSource New page: ==Function hasLightSource== {{ProposedChange}} Returns 1 if the current Token:token has any LightSource:light sources that match the criteria passed in or 0 if there are no match...
- 00:0200:02, 2 December 2008 diff hist +201 N hasImpersonated New page: ==Function hasImpersonated== {{ProposedChange}} Returns 1 if there is an impersonated token otherwise returns 0. ===Usage=== <source lang="mtmacro" line> [h: hasImp = hasImpersonated...
- 00:0000:00, 2 December 2008 diff hist +818 N getWithStateNames New page: ==Function getWithStateNames== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the names of all the tokens on the current [...
1 December 2008
- 23:5923:59, 1 December 2008 diff hist +12 getWithState No edit summary
- 23:5923:59, 1 December 2008 diff hist +774 N getWithState New page: ==Function getWithState== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the ids of all the tokens on the current [[Map:ma...
- 23:5723:57, 1 December 2008 diff hist +268 N getVisible New page: ==Function getVisible== {{TrustedOnlyFunction}} Returns 1 if the Token:visible to players flag is set on the current Token:token otherwise returns 0. ===Usage=== <source lang="m...
- 23:5423:54, 1 December 2008 diff hist +660 N getTokens New page: ==Function getTokens== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the ids of all the tokens on the current [[Map:map|m...
- 23:5323:53, 1 December 2008 diff hist +683 N getTokenNames New page: ==Function getTokenNames== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a Macros:string list containing the names of all the Token:tokens on the current Map:map. ===Usa...
- 23:5023:50, 1 December 2008 diff hist +336 N getTokenImage New page: ==Function getTokenImage== Returns the asset id for the for the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: assetId = getTokenImage()] </source> ===Examp...
- 23:4923:49, 1 December 2008 diff hist +492 N getStrProp New page: ==Function getStrProp== Returns the value associated with a key from the specified Macros:string property list. ==Usage== <source lang="mtmacro" line> [h: macros = getStrProp(propL...
- 23:4523:45, 1 December 2008 diff hist +399 N macros:Functions:getStateImage New page: ==Function getStateImage== Returns the asset id for the image that is used to represent the specified token state. ===Usage=== <source lang="mtmacro" line> [h: asset...
- 23:4123:41, 1 December 2008 diff hist +13 getSpeechNames No edit summary
- 23:4123:41, 1 December 2008 diff hist +10 getSpeech No edit summary
- 23:4123:41, 1 December 2008 diff hist +13 getSightType No edit summary
- 23:4023:40, 1 December 2008 diff hist +12 getSelectedNames No edit summary
- 23:4023:40, 1 December 2008 diff hist +12 getSelected No edit summary
- 23:3923:39, 1 December 2008 diff hist −1 getState No edit summary
- 23:3923:39, 1 December 2008 diff hist +341 N getState New page: ==Function getState== Returns 1 if the specified Token:state is set on the current Token:token otherwise it returns 0. ===Usage=== <source lang="mtmacro" line> [h: isSet = getSt...
- 23:3523:35, 1 December 2008 diff hist +7 getSpeechNames No edit summary
- 23:3523:35, 1 December 2008 diff hist +635 N getSpeechNames New page: ==Function getSpeechNames== {{ProposedChange}} Returns a string list containing the Token:speech names of the current Token:token. <source lang="mtmacro" ...
- 23:3323:33, 1 December 2008 diff hist +185 N getSpeech New page: ==Function getSelected== {{ProposedChange}} Returns the Token:speech value from the current Token:token. <source lang="mtmacro" line> [h: speech = getSpeech()] </source>
- 23:3123:31, 1 December 2008 diff hist +289 N getSize New page: ==Function geSize== {{ProposedChange}} Returns the Token:size of the current Token:token. The sizes returned are * Diminutive * Tiny * Small * Medium * Large * Huge * Giant * Gar...
- 23:2823:28, 1 December 2008 diff hist +198 N getSightType New page: ==Function getSightType== {{ProposedChange}} Returns the type of Token:sight that the current Token:token has. <source lang="mtmacro" line> [h: macros = getSightType()] </source>
- 23:2623:26, 1 December 2008 diff hist +676 N getSelectedNames New page: ==Function getSelectedNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a string list containing the names of the selected Token:NPC tokens on the cur...
- 23:2623:26, 1 December 2008 diff hist +659 N getSelected New page: ==Function getSelected== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a string list containing the ids of the selected Token:NPC tokens on the current [[...
- 23:2423:24, 1 December 2008 diff hist +205 N getPropertyType New page: ==Function getPropertyType== {{ProposedChange}} Returns the Token:property type of the current Token:token. <source lang="mtmacro" line> [h: type = getPropertyType()] </source>
- 23:2223:22, 1 December 2008 diff hist −24 getPropertyNames No edit summary
- 23:2223:22, 1 December 2008 diff hist +702 N getPropertyNames New page: ==Function getPropertyNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a Macros:string list containing the names of the names of the properties on the cu...
- 23:1923:19, 1 December 2008 diff hist +345 N getPropertyDefault New page: ==Function getPropertyDefault== {{ProposedChange}} Returns the default value of a token property. If the [[Campaign:property defaul...
- 23:1723:17, 1 December 2008 diff hist +348 N getProperty New page: ==Function getProperty== {{ProposedChange}} Returns the value of a token property. If the token property contains nothing then an empty string ("") ...
- 23:1423:14, 1 December 2008 diff hist +380 N getPlayerName New page: ==Function getPlayerName== {{ProposedChange}} Returns the name of the player for the client that it executes on. <source lang="mtmacro" line> [h: name = getPlayerName()] </source> T...