Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

[Script] ScriptCards - Thread #2

ScriptCards cannot currently delete an object. I have a small script I wrote that I call from some of my summoning ScriptCards that can deleted tokens to overcome the no delete shortcoming. I can post it if it is helpful but you will need something in addition to ScriptCards if you want to delete objects.
1768657752
Kurt J.
Pro
API Scripter
The inability to delete objects via ScriptCards was an intentional limitation to prevent people from creating malicious scripts. It isn't difficult to add that ability, but I'd make it configurable to allow the game owner to restrict it to GMs or something similar.
1769268164

Edited 1769268999
Keep higher one just returns zero. What am I doing wrong here? --=Skill|{@{selected|Grapple},@{selected|DX},@{selected|PunchSkill}}kh1 Edit: Newer mind, fixed it --=Skill|[[{@{selected|Grapple},@{selected|DX},@{selected|PunchSkill}}kh1]]
1770335083
Kurt J.
Pro
API Scripter
ScriptCards 3.0.14 headed to OneClick The latest version of ScriptCards is just about to go live on OneClick. Besides a couple of bug fixes, this version adds: - Support for setting bar4 values "intelligently" (like linking, etc. You could already set them individually) - Support for triggers for change:pin add:pin and destroy:pin Map pins are already manipulatable in ScriptCards via --! using the "pin" object type, so no changes were needed to support them. The OneClick change was merged on he back end today so it should be active in a day or so.