Skip to content

SetDefaultToken.js

kyleady edited this page Jun 27, 2017 · 3 revisions

Purpose

An ease of use tool for detailing a generic NPC's default token properly and saving it within the Character Sheet.

Usage

!Give Token To <character sheet name>

First checks that you have exactly one graphic selected.

Next checks that the character name refers to exactly one character sheet. If multiple matches are found, suggestions will be given.

Sets the following details on the selected graphic:

  • bar1_link: ""
  • bar2_link: ""
  • bar3_link: ""
  • represents: character id
  • name: character name
  • bar1_value: Fatigue
  • bar2_value: Fate
  • bar3_value: Wounds
  • bar1_max: Fatigue
  • bar2_max: Fate
  • bar3_max: Wounds
  • bar1_value: Fatigue
  • bar2_value: Fate
  • showname: true
  • showplayers_name: true
  • showplayers_bar1: true
  • showplayers_bar2: true
  • showplayers_bar3: true
  • showplayers_aura1: true
  • showplayers_aura2: true

Once the graphic is detailed, it is saved as the character's default token.

Requirements

Clone this wiki locally