Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:It's a Trap"

From Roll20 Wiki

Jump to: navigation, search
m (235259 moved page Script:ItsATrap to Script:It's a Trap)
m
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{script overview
 
{{script overview
|name=It's A Trap
+
|name=It's A Trap!
|author={{user profile|46544|Stephen L}}
+
|author=[[Stephen L.]]
|version=2.0
+
|version=3.13.1
|lastmodified=2015-01-21
+
|lastmodified=2020-06-22
 
|code=Its A Trap
 
|code=Its A Trap
 
|dependencies={{api repository link|Token Collisions}}, {{api repository link|Vector Math}}
 
|dependencies={{api repository link|Token Collisions}}, {{api repository link|Vector Math}}
 
|conflicts=none}}
 
|conflicts=none}}
  
This is a script that allows GMs to quickly and very easily set up traps on the GM layer, and detect when tokens on the objects layer move over them. This trap detection even works for tokens moving by waypoints.
+
This is a script that allows the [[GM]] to quickly and very easily set up traps on the GM [[layer]], and detect when [[tokens]] on the objects layer move over them. This trap detection even works for tokens moving by waypoints.
  
== Syntax ==
+
* The API exists as a generic, standalone version, along with versions tailored to work right away with specific Game Systems/Character sheets.
{{syntaxbox top|Example|nocat=true}}
+
* It can be used in combination with '''[[TokenMod]]''', '''Areas of Effect''', and the '''[[Script:KABOOM|KABOOM]]''' APIs
none. Traps are set up through token interaction. See below.
+
* Full information about the script, its installation, and use:  '''{{repo|Roll20/roll20-api-scripts/tree/master/Its%20A%20Trap Readme}}'''
{{syntaxbox end}}
+
<br>
 
+
'''Versions of  "It's A Trap!"''':
== Installation and Configuration ==
+
* '''It's a Trap!''' - generic version that you need to configure to work with whatever sheet you're using.
Copy the script's code, available from the menu on the right and stored at Roll20's [https://github.com/Roll20/roll20-api-scripts API GitHub Repository]. Paste the code into a new script in your campaign's [[API:Use_Guide#The_Script_Editor|API Script Editor]]. Save the new script and it will be available inside your campaign.
+
* '''It's a Trap! - Burn Bryte theme''' - Supports the [[Burn Bryte]] sheet/game. {{forum|permalink/9064876/ tread}}
 
+
* '''It's a Trap! - D&D 3.5E theme'''
== Script Use ==
+
** supports the following D&D 3.5E character sheets:, "D&D 3.5E" by Diana P., "Adventure Pack" by Smurf, "The Black Company" by [[Ziechael]]
==== To set up traps: ====
+
* '''It's a Trap! - D&D 5E Generic''' -- Supports the [[5ESheet|official 5E]], [[DnD5E Community Contributed|5E (Community)]], [[DnD5e Shaped Character Sheet|5E (Shaped)]] sheets
 
+
* '''It's a Trap! - Gamma World 7E theme''' -- supports sheet by same name
Place the token for your trap on the GM layer. Give it the cobweb status marker.
+
* '''It's a Trap! - [[Pathfinder]] theme''' -- supports the [[[[Pathfinder Official| Official]], [[Pathfinder Community Sheet|Community]], and ''Pathfinder (Simple)''-sheets
 
+
* '''It's a Trap! - Roleplaying is Magic 4E theme''' -- supports sheet by same name
By default, traps will only affect characters on the ground (ones that don't have a wing or angel status marker). To have a trap also affect flying characters, give it the wing or angel status marker.
+
* '''It's a Trap! - Starfinder theme''' -- Supports the official and simple [[Starfinder]] sheets
 
+
* '''It's a Trap! - [[Classic World of Darkness|World of Darkness classic]]  theme'''
By default, trap tokens won't appear when they are activated. If you would like the trap to become visible to the players when it is activated, give it the bleeding eye status marker.
+
** Supports: Changeling: The Dreaming, Demon: The Fallen, Mage: The Ascension, Vampire: The Dark Ages, Vampire: The Masquerade, Werewolf: The Apocalypse, and all the forementioned's 20th anniversary edition variations.
 
+
==Links==
==== To set off traps: ====
+
* {{forum|permalink/6927186/ It's A Trap! v3.9}} - Oct 2019
 
+
* {{forum|permalink/9064876/ (Script) It's A Trap! - Burn Bryte theme}}
If a token moves across a trap at ANY point during its movement, the trap will be activated!
+
<br>
 
+
[[Category:DnD5E]]
== Changelog ==
+
[[Category:DnD]]
See GitHub commit log/wiki page history.
+
[[Category:Pathfinder]]
 +
[[Category:Starfinder]]
 +
[[Category:WoD]]

Revision as of 16:04, 4 April 2021

API ScriptAuthor: Stephen L.
Version: 3.13.1
Last Modified: 2020-06-22
Code: Its A Trap
Dependencies: Token Collisions, Vector Math
Conflicts: none

This is a script that allows the GM to quickly and very easily set up traps on the GM layer, and detect when tokens on the objects layer move over them. This trap detection even works for tokens moving by waypoints.

  • The API exists as a generic, standalone version, along with versions tailored to work right away with specific Game Systems/Character sheets.
  • It can be used in combination with TokenMod, Areas of Effect, and the KABOOM APIs
  • Full information about the script, its installation, and use: Readme


Versions of "It's A Trap!":

  • It's a Trap! - generic version that you need to configure to work with whatever sheet you're using.
  • It's a Trap! - Burn Bryte theme - Supports the Burn Bryte sheet/game. tread(Forum)
  • It's a Trap! - D&D 3.5E theme
    • supports the following D&D 3.5E character sheets:, "D&D 3.5E" by Diana P., "Adventure Pack" by Smurf, "The Black Company" by Ziechael
  • It's a Trap! - D&D 5E Generic -- Supports the official 5E, 5E (Community), 5E (Shaped) sheets
  • It's a Trap! - Gamma World 7E theme -- supports sheet by same name
  • It's a Trap! - Pathfinder theme -- supports the [[ Official, Community, and Pathfinder (Simple)-sheets
  • It's a Trap! - Roleplaying is Magic 4E theme -- supports sheet by same name
  • It's a Trap! - Starfinder theme -- Supports the official and simple Starfinder sheets
  • It's a Trap! - World of Darkness classic theme
    • Supports: Changeling: The Dreaming, Demon: The Fallen, Mage: The Ascension, Vampire: The Dark Ages, Vampire: The Masquerade, Werewolf: The Apocalypse, and all the forementioned's 20th anniversary edition variations.

Links