|
|
(8 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| ====Mathematical ====
| | #REDIRECT [[:Category:Macro Function]] |
| *[[Macros:Functions:abs|abs]]
| |
| *[[Macros:Functions:absolutevalue|absolutevalue]]
| |
| *[[Macros:Functions:add|add]]
| |
| *[[Macros:Functions:average|average]]
| |
| *[[Macros:Functions:avg|avg]]
| |
| *[[Macros:Functions:ceil|ceil]]
| |
| *[[Macros:Functions:ceiling|ceiling]]
| |
| *[[Macros:Functions:divide|divide]]
| |
| *[[Macros:Functions:floor|floor]]
| |
| *[[Macros:Functions:hex|hex]]
| |
| *[[Macros:Functions:hypot|hypot]]
| |
| *[[Macros:Functions:hypotenuse|hypotenuse]]
| |
| *[[Macros:Functions:isNumber|isNumber]]
| |
| *[[Macros:Functions:ln|ln]]
| |
| *[[Macros:Functions:log|log]]
| |
| *[[Macros:Functions:log10|log10]]
| |
| *[[Macros:Functions:max|max]]
| |
| *[[Macros:Functions:mean|mean]]
| |
| *[[Macros:Functions:median|median]]
| |
| *[[Macros:Functions:min|min]]
| |
| *[[Macros:Functions:multiply|multiply]]
| |
| *[[Macros:Functions:number|number]]
| |
| *[[Macros:Functions:sqr|sqr]]
| |
| *[[Macros:Functions:sqrt|sqrt]]
| |
| *[[Macros:Functions:square|square]]
| |
| *[[Macros:Functions:squareroot|squareroot]]
| |
| *[[Macros:Functions:subtract|subtract]]
| |
| *[[Macros:Functions:sum|sum]]
| |
| | |
| ====Initiatitive====
| |
| *[[Macros:Functions:addAllNPCsToInitiative|addAllNPCsToInitiative]]
| |
| *[[Macros:Functions:addAllPCsToInitiative|addAllPCsToInitiative]]
| |
| *[[Macros:Functions:addAllToInitiative|addAllToInitiative]]
| |
| *[[Macros:Functions:addToInitiative|addToInitiative]]
| |
| *[[Macros:Functions:getCurrentInitiative|getCurrentInitiative]]
| |
| *[[Macros:Functions:getInitiative|getInitiative]]
| |
| *[[Macros:Functions:getInitiativeHold|getInitiativeHold]]
| |
| *[[Macros:Functions:getInitiativeRound|getInitiativeRound]]
| |
| *[[Macros:Functions:initiativeSize|initiativeSize]]
| |
| *[[Macros:Functions:nextInitiative|nextInitiative]]
| |
| *[[Macros:Functions:removeAllFromInitiative|removeAllFromInitiative]]
| |
| *[[Macros:Functions:removeAllNPCsFromInitiative|removeAllNPCsFromInitiative]]
| |
| *[[Macros:Functions:removeAllPCsFromInitiative|removeAllPCsFromInitiative]]
| |
| *[[Macros:Functions:removeFromInitiative|removeFromInitiative]]
| |
| *[[Macros:Functions:setCurrentInitiative|setCurrentInitiative]]
| |
| *[[Macros:Functions:setInitiative|setInitiative]]
| |
| *[[Macros:Functions:setInitiativeHold|setInitiativeHold]]
| |
| *[[Macros:Functions:setInitiativeRound|setInitiativeRound]]
| |
| *[[Macros:Functions:sortInitiative|sortInitiative]]
| |
| | |
| | |
| | |
| | |
| ====String====
| |
| *[[Macros:Functions:concat|concat]]
| |
| *[[Macros:Functions:decode|decode]]
| |
| *[[Macros:Functions:endsWith|endsWith]]
| |
| *[[Macros:Functions:getFindCount|getFindCount]]
| |
| *[[Macros:Functions:getGroup|getGroup]]
| |
| *[[Macros:Functions:getGroupCount|getGroupCount]]
| |
| *[[Macros:Functions:getGroupEnd|getGroupEnd]]
| |
| *[[Macros:Functions:getGroupStart|getGroupStart]]
| |
| *[[Macros:Functions:indexOf|indexOf]]
| |
| *[[Macros:Functions:lastIndexOf|lastIndexOf]]
| |
| *[[Macros:Functions:length|length]]
| |
| *[[Macros:Functions:lower|lower]]
| |
| *[[Macros:Functions:matches|matches]]
| |
| *[[Macros:Functions:replace|replace]]
| |
| *[[Macros:Functions:startsWith|startsWith]]
| |
| *[[Macros:Functions:strfind|strfind]]
| |
| *[[Macros:Functions:strformat|strformat]]
| |
| *[[Macros:Functions:string|string]]
| |
| *[[Macros:Functions:substring|substring]]
| |
| *[[Macros:Functions:trim|trim]]
| |
| *[[Macros:Functions:upper|upper]]
| |
| | |
| ====Logical====
| |
| *[[Macros:Functions:band|band]]
| |
| *[[Macros:Functions:bitwiseand|bitwiseand]]
| |
| *[[Macros:Functions:bitwisenot|bitwisenot]]
| |
| *[[Macros:Functions:bitwiseor|bitwiseor]]
| |
| *[[Macros:Functions:bitwisexor|bitwisexor]]
| |
| *[[Macros:Functions:bnot|bnot]]
| |
| *[[Macros:Functions:bor|bor]]
| |
| *[[Macros:Functions:bxor|bxor]]
| |
| | |
| | |
| | |
| ====Token====
| |
| *[[Macros:Functions:bringToFront|bringToFront]]
| |
| *[[Macros:Functions:createMacro|createMacro]]
| |
| *[[Macros:Functions:currentToken|currentToken]]
| |
| *[[Macros:Functions:getAllPropertyNames|getAllPropertyNames]]
| |
| *[[Macros:Functions:getGMName|getGMName]]
| |
| *[[Macros:Functions:getGMNotes|getGMNotes]]
| |
| *[[Macros:Functions:getHalo|getHalo]]
| |
| *[[Macros:Functions:getLabel|getLabel]]
| |
| *[[Macros:Functions:getLayer|getLayer]]
| |
| *[[Macros:Functions:getName|getName]]
| |
| *[[Macros:Functions:getNotes|getNotes]]
| |
| *[[Macros:Functions:getOwners|getOwners]]
| |
| *[[Macros:Functions:getProperty|getProperty]]
| |
| *[[Macros:Functions:getPropertyDefault|getPropertyDefault]]
| |
| *[[Macros:Functions:getPropertyNames|getPropertyNames]]
| |
| *[[Macros:Functions:getPropertyType|getPropertyType]]
| |
| *[[Macros:Functions:getSize|getSize]]
| |
| *[[Macros:Functions:getSpeech|getSpeech]]
| |
| *[[Macros:Functions:getSpeechNames|getSpeechNames]]
| |
| *[[Macros:Functions:getState|getState]]
| |
| *[[Macros:Functions:getTokenImage|getTokenImage]]
| |
| *[[Macros:Functions:getVisible|getVisible]]
| |
| *[[Macros:Functions:hasProperty|hasProperty]]
| |
| *[[Macros:Functions:isNPC|isNPC]]
| |
| *[[Macros:Functions:isOwnedByAll|isOwnedByAll]]
| |
| *[[Macros:Functions:isOwner|isOwner]]
| |
| *[[Macros:Functions:isPC|isPC]]
| |
| *[[Macros:Functions:isPropertyEmpty|isPropertyEmpty]]
| |
| *[[Macros:Functions:resetProperty|resetProperty]]
| |
| *[[Macros:Functions:sendToBack|sendToBack]]
| |
| *[[Macros:Functions:setAllStates|setAllStates]]
| |
| *[[Macros:Functions:setGMName|setGMName]]
| |
| *[[Macros:Functions:setGMNotes|setGMNotes]]
| |
| *[[Macros:Functions:setHalo|setHalo]]
| |
| *[[Macros:Functions:setLabel|setLabel]]
| |
| *[[Macros:Functions:setLayer|setLayer]]
| |
| *[[Macros:Functions:setName|setName]]
| |
| *[[Macros:Functions:setNotes|setNotes]]
| |
| *[[Macros:Functions:setPC|setPC]]
| |
| *[[Macros:Functions:setProperty|setProperty]]
| |
| *[[Macros:Functions:setPropertyType|setPropertyType]]
| |
| *[[Macros:Functions:setSize|setSize]]
| |
| *[[Macros:Functions:setSpeech|setSpeech]]
| |
| *[[Macros:Functions:setState|setState]]
| |
| *[[Macros:Functions:setTokenImage|setTokenImage]]
| |
| *[[Macros:Functions:setVisible|setVisible]]
| |
| *[[Macros:Functions:switchToken|switchToken]]
| |
| | |
| ====Token Libraries====
| |
| *[[Macros:Functions:getLibProperty|getLibProperty]]
| |
| *[[Macros:Functions:setLibProperty|setLibProperty]]
| |
| | |
| | |
| ====Macros====
| |
| *[[Macros:Functions:getMacroCommand|getMacroCommand]]
| |
| *[[Macros:Functions:getMacroIndexes|getMacroIndexes]]
| |
| *[[Macros:Functions:getMacroLocation|getMacroLocation]]
| |
| *[[Macros:Functions:getMacroName|getMacroName]]
| |
| *[[Macros:Functions:getMacroProps|getMacroProps]]
| |
| *[[Macros:Functions:getMacros|getMacros]]
| |
| *[[Macros:Functions:hasImpersonated|hasImpersonated]]
| |
| *[[Macros:Functions:hasMacro|hasMacro]]
| |
| *[[Macros:Functions:isTrusted|isTrusted]]
| |
| *[[Macros:Functions:setMacroCommand|setMacroCommand]]
| |
| *[[Macros:Functions:setMacroProps|setMacroProps]]
| |
| | |
| | |
| ====Lights and Sight====
| |
| *[[Macros:Functions:clearLights|clearLights]]
| |
| *[[Macros:Functions:getLights|getLights]]
| |
| *[[Macros:Functions:getSightType|getSightType]]
| |
| *[[Macros:Functions:hasLightSource|hasLightSource]]
| |
| *[[Macros:Functions:hasSight|hasSight]]
| |
| *[[Macros:Functions:setHasSight|setHasSight]]
| |
| *[[Macros:Functions:setLight|setLight]]
| |
| *[[Macros:Functions:setSightType|setSightType]]
| |
| | |
| ====String Properties====
| |
| *[[Macros:Functions:countStrProp|countStrProp]]
| |
| *[[Macros:Functions:deleteStrProp|deleteStrProp]]
| |
| *[[Macros:Functions:indexKeyStrProp|indexKeyStrProp]]
| |
| *[[Macros:Functions:indexValueStrProp|indexValueStrProp]]
| |
| *[[Macros:Functions:getStrProp|getStrProp]]
| |
| *[[Macros:Functions:setStrProp|setStrProp]]
| |
| *[[Macros:Functions:varsFromStrProp|varsFromStrProp]]
| |
| | |
| ====String List====
| |
| *[[Macros:Functions:listAppend|listAppend]]
| |
| *[[Macros:Functions:listCount|listCount]]
| |
| *[[Macros:Functions:listDelete|listDelete]]
| |
| *[[Macros:Functions:listFind|listFind]]
| |
| *[[Macros:Functions:listGet|listGet]]
| |
| *[[Macros:Functions:listInsert|listInsert]]
| |
| *[[Macros:Functions:listReplace|listReplace]]
| |
| *[[Macros:Functions:stringToList|stringToList]]
| |
| | |
| ====Token Bars====
| |
| *[[Macros:Functions:isBarVisible|isBarVisible]]
| |
| *[[Macros:Functions:getBar|getBar]]
| |
| *[[Macros:Functions:setBar|setBar]]
| |
| *[[Macros:Functions:setBarVisible|setBarVisible]]
| |
| | |
| ====Tables====
| |
| *[[Macros:Functions:table|table]]
| |
| *[[Macros:Functions:tableImage|tableImage]]
| |
| *[[Macros:Functions:tbl|tbl]]
| |
| *[[Macros:Functions:tblImage|tblImage]]
| |
| | |
| ====Miscellanous====
| |
| *[[Macros:Functions:abort|abort]]
| |
| *[[Macros:Functions:eval|eval]]
| |
| *[[Macros:Functions:evalMacro|evalMacro]]
| |
| *[[Macros:Functions:execMacro|execMacro]]
| |
| *[[Macros:Functions:getAllPlayerNames|getAllPlayerNames]]
| |
| *[[Macros:Functions:getImage|getImage]]
| |
| *[[Macros:Functions:getPlayerName|getPlayerName]]
| |
| *[[Macros:Functions:getStateImage|getStateImage]]
| |
| *[[Macros:Functions:if|if]]
| |
| *[[Macros:Functions:input|input]]
| |
| *[[Macros:Functions:isGM|isGM]]
| |
| *[[Macros:Functions:macroLink|macroLink]]
| |
| *[[Macros:Functions:macroLinkText|macroLinkText]]
| |
| *[[Macros:Functions:set|set]]
| |
| | |
| ====Finding Tokens====
| |
| *[[Macros:Functions:findToken|findToken]]
| |
| *[[Macros:Functions:getExposedTokenNames|getExposedTokenNames]]
| |
| *[[Macros:Functions:getExposedTokens|getExposedTokens]]
| |
| *[[Macros:Functions:getImpersonated|getImpersonated]]
| |
| *[[Macros:Functions:getImpersonatedName|getImpersonatedName]]
| |
| *[[Macros:Functions:getNPCNames|getNPCNames]]
| |
| *[[Macros:Functions:getNPCs|getNPCs]]
| |
| *[[Macros:Functions:getOwned|getOwned]]
| |
| *[[Macros:Functions:getOwnedNames|getOwnedNames]]
| |
| *[[Macros:Functions:getPCNames|getPCNames]]
| |
| *[[Macros:Functions:getPCs|getPCs]]
| |
| *[[Macros:Functions:getSelected|getSelected]]
| |
| *[[Macros:Functions:getSelectedNames|getSelectedNames]]
| |
| *[[Macros:Functions:getTokenNames|getTokenNames]]
| |
| *[[Macros:Functions:getTokens|getTokens]]
| |
| *[[Macros:Functions:getVisibleTokenNames|getVisibleTokenNames]]
| |
| *[[Macros:Functions:getVisibleTokens|getVisibleTokens]]
| |
| *[[Macros:Functions:getWithState|getWithState]]
| |
| *[[Macros:Functions:getWithStateNames|getWithStateNames]]
| |
| | |
| ===JSON Functions===
| |
| * [[Macros:Functions:json.append|json.append]]
| |
| * [[Macros:Functions:json.contains|json.contains]]
| |
| * [[Macros:Functions:json.fields|json.fields]]
| |
| * [[Macros:Functions:json.fromList|json.fromList]]
| |
| * [[Macros:Functions:json.fromStrProp|json.fromStrProp]]
| |
| * [[Macros:Functions:json.get|json.get]]
| |
| * [[Macros:Functions:json.length|json.length]]
| |
| * [[Macros:Functions:json.set|json.set]]
| |
| * [[Macros:Functions:json.type|json.type]]
| |
| * [[Macros:Functions:json.toList|json.toList]]
| |
| * [[Macros:Functions:json.toStrProp|json.toStrProp]]
| |
| * [[Macros:Functions:json.remove|json.remove]]
| |