Due to the recent resurgence of spam, we have temporarily disabled user creation and page editing/creation as we resolve the issue.
Team Resource
From Snapwiki
Revision as of 2016-05-13T00:27:39 by Tmustaine (Talk | contribs) (Created page with "== Team Resource == A variable that represents a custom Team Resource type. It can be set to a whole number. {| class="wikitable" style="width: 60%;" !'''INPUTS''' |} ;Spen...")
Team Resource
A variable that represents a custom Team Resource type. It can be set to a whole number.
INPUTS |
---|
- Spend
- Spend the resource value specified in the input's properties. Fails if there are insufficient resources. Expects a player as an activator.
- Set (Team Resource)
- Set the activator's Team Resource to the value specified in the input's properties. Expects an object an activator.
- Add (Team Resource)
- Increase the activator's Team Resource by the amount specified in the input's properties. Expects an object an activator.
- Subtract (Team Resource)
- Decrease the activator's Team Resource by the amount specified in the input's properties. Expects an object an activator.
OUTPUTS |
---|
- On Changed
- When the value changes, send a signal. The activator is the Resource or Cached Entity that changed. There is no activator for Boolean, Color, Integer, Number or String variables.
- On Spend Team Resource Succeeded
- When an attempt to spend a Team Resource succeeds, send a signal. The activator is unchanged from the input Spend signal.
- On Spend Team Resource Failed
- When an attempt to spend a Team Resource fails, send a signal. The activator is unchanged from the input Spend signal.
- On Spend Team Resource Attempted
- When an attempt to spend a Team Resource is made, send a signal. The activator is unchanged from the input Spend signal.