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

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

From Roll20 Wiki

Jump to: navigation, search
m (Syntax: removing section with no content)
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{revdate}}
 +
{{main|API:Script Index}}
 
{{script overview
 
{{script overview
|name=It's A Trap
+
|name=It's A Trap!
|author={{user profile|46544|Stephen L}}
+
|author=[[Ada Lindberg|Ada 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}}
 +
'''It's a Trap''' is a script that allows the [[GM]] to quickly and very easily set up traps on the [[Layers#GM_Info_Overlay|GM layer]], and detect when [[tokens]] on the objects layer move over them. This trap detection even works for tokens moving by [[Moving Tokens#Waypoints|waypoints]].
  
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.
+
* 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]]''', '''{{fpl|4041327/ Areas of Effect}}''', and the '''[[Script:KABOOM|KABOOM]]''' APIs
  
== Installation and Configuration ==
 
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.
 
  
== Script Use ==
+
<big><u>Full information about the generic script, its installation, and use: '''{{repo|Roll20/roll20-api-scripts/tree/master/Its%20A%20Trap#readme Readme}}'''</u></big>
==== To set up traps: ====
+
* sheet-specific version info: go to the {{repo|Roll20/roll20-api-scripts/ api scripts repository}} and check the readme for your specific version.
 
+
{{#evp:youtube|KdQg6Fhxg-I|Setting Up "It's a Trap" API|right|600}}
Place the token for your trap on the GM layer. Give it the cobweb status marker.
+
<br>
 
+
'''Versions of  "It's A Trap!"''':
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!''' -- {{repo|Roll20/roll20-api-scripts/tree/master/Its%20A%20Trap#readme readme}}
 
+
** generic version that you need to configure to work with whatever sheet you're using.
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.
+
* '''It's a Trap! - Burn Bryte theme''' - Supports the [[Burn Bryte]] sheet/game. {{forum|permalink/9064876/ thread}}
 
+
* '''It's a Trap! - D&D 3.5E theme''' -- {{repo|Roll20/roll20-api-scripts/tree/master/ItsATrap_theme_DnD3.5#readme readme}}
==== To set off traps: ====
+
** 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''' -- {{repo|Roll20/roll20-api-scripts/tree/master/ItsATrap_theme_5E_Generic#readme readme}}
If a token moves across a trap at ANY point during its movement, the trap will be activated!
+
** 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
== Changelog ==
+
* '''It's a Trap! - [[Pathfinder]] theme'''
See GitHub commit log/wiki page history.
+
** 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
 +
* '''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'''
 +
** 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==
 +
* {{forum|permalink/6927186/ It's A Trap! v3.9}} - Oct 2019
 +
* {{forum|permalink/9064876/ (Script) It's A Trap! - Burn Bryte theme}}
 +
==See Also==
 +
* [[Script:SelectManager|SelectManager]] - can be used to extend It's a Trap's token selection
 +
<br>
 +
[[Category:DnD5E]]
 +
[[Category:DnD]]
 +
[[Category:Pathfinder]]
 +
[[Category:Starfinder]]
 +
[[Category:World of Darkness]]

Latest revision as of 09:13, 23 June 2022

Main Page: API:Script Index

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

It's a Trap 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(Forum), and the KABOOM APIs


Full information about the generic script, its installation, and use: Readme

  • sheet-specific version info: go to the api scripts repository and check the readme for your specific version.
Setting Up "It's a Trap" API


Versions of "It's A Trap!":

  • It's a Trap! -- readme
    • 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. thread(Forum)
  • It's a Trap! - D&D 3.5E theme -- readme
    • 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 -- readme
  • It's a Trap! - Gamma World 7E theme -- supports sheet by same name
  • It's a Trap! - Pathfinder theme
  • 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.

[edit] Links

[edit] See Also

  • SelectManager - can be used to extend It's a Trap's token selection