Due to the recent resurgence of spam, we have temporarily disabled user creation and page editing/creation as we resolve the issue.

Difference between revisions of "Player Input"

From Snapwiki
Jump to: navigation, search
m (Fixing Logic category)
(Player Input)
 
Line 1: Line 1:
 
[[Category:Logic]]
 
[[Category:Logic]]
 
== Player Input ==
 
== Player Input ==
The Player Input object, when enabled, collects player input which can be used to signal other objects.
+
The Player Input object when placed is enabled by default, and collects player input which can be used to signal other objects. Due to this, it is advisable to disable all Player Input objects on map start, this way they are only enabled when under the conditions desired. At the same time, mapmakers should remember to disable these afterwards, otherwise they will continue to signal whatever they are connected to.
 +
 
 +
E.g. If only a one off effect is desired from pressing or releasing the input, if not disabled after this, players may repeatedly trigger the effect, reducing its impact.
  
 
== Details ==
 
== Details ==

Latest revision as of 2016-06-29T16:59:40

Player Input

The Player Input object when placed is enabled by default, and collects player input which can be used to signal other objects. Due to this, it is advisable to disable all Player Input objects on map start, this way they are only enabled when under the conditions desired. At the same time, mapmakers should remember to disable these afterwards, otherwise they will continue to signal whatever they are connected to.

E.g. If only a one off effect is desired from pressing or releasing the input, if not disabled after this, players may repeatedly trigger the effect, reducing its impact.

Details

PlayerInput.PNG

Object: Player Input

Category: Player & Team

Inputs

INPUTS
Enable.png Enable Player Input Enable the Player Input.
Disable.png Disable Player Input Disable the Player Input.

Outputs

OUTPUTS
OnUsed.png On Pressed If the Player Input is enabled when a player presses the specified input, send a signal. The player is the activator.
OnReleased.png On Released If the Player Input is enabled when a player releases the specified input, send a signal. The player is the activator.

Properties

PROPERTIES
Property Type Description
Name String The name of this object. Rename an object to make it easy to identify.
Receiver Custom Filter Grid Picker Limits who will receive the input.