Simple Entity Components

Simple Collectable
Description: Use when your gameplay requires collectable items that can respawn on a timer.

Example: Crafting Items, Food, Weapons, Ammo, Med Pacs, etc.

Properties:

Input Methods:

Output Events:

Simple Counter
Description: Use when your gameplay needs to remember how many times something happened.

Example: Score, Ammo, Collected Items, etc.

Properties:

Input Methods:

Output Events:

Simple CounterCompare
Description: Tests the value of a specified counter against a given desired value then fires the appropriate event.

Example: Opens a door after three keys are collected, etc.

Properties:

Input Methods:

Output Events:

Simple Input Get Axis Button
Description: Accepts input from a controller then fires Down and Up events. 

List of valid axis names to come...

Example: 'A' button to jump, etc.

Properties:

Input Methods:

Output Events:

Simple Input GetKey
Description: Accepts input from a keyboard or mouse then fires Down and Up events.

Valid Key Names:

Normal keys: 'a', 'b', 'c' …

Number keys: '1', '2', '3', …

Arrow keys: 'up', 'down', 'left', 'right'

Keypad keys: '[1]', '[2]', '[3]', '[+]', '[equals]'

Modifier keys: 'right shift', 'left shift', 'right ctrl', 'left ctrl', 'right alt', 'left alt', 'right cmd', 'left cmd'

Mouse Buttons: 'mouse 0', 'mouse 1', 'mouse 2', …

Joystick Buttons(from any joystick): 'joystick button 0', 'joystick button 1', 'joystick button 2', …

Joystick Buttons(from a specific joystick): 'joystick 1 button 0', 'joystick 1 button 1', 'joystick 2 button 0', …

Special keys: 'backspace', 'tab', 'return', 'escape', 'space', 'delete', 'enter', 'insert', 'home', 'end', 'page up', 'page down'

Function keys: 'f1', 'f2', 'f3', …

Example: 'space' for jump key, etc. Properties:

Input Methods:

Output Events:

Simple Line Of Sight Trigger
Description: Accepts input from a controller then fires Down and Up events.

Example: Jump button from game controller, etc.  Properties:

Input Methods:

Output Events:

Simple Mouse World Position
Description: Finds the position in the game world of the point under mouse cursor.

Example: Navigate NPC to location of the mouse cursor, etc.

Properties:

Input Methods:

Output Events:

Simple Navigate
Description: Allows an NPC (Actor) to navigate to a specified location on a navmesh.

Example: Make an NPC walk to the location of the mouse cursor, etc.

Properties:

Input Methods:

Output Events:

Simple Object List
Description: A collection of objects.

Example: Use the position of each object as a waypoint for NPC to march toward, etc.

Properties:

Input Methods:

Output Events:

Simple Open Close
Description: Smoothly moves an entity between two position (a close position and an open position).

Example: Open a door, lower a drawbridge, raise a portcullis, slide a door sideways, etc.

Properties:

Input Methods:

Output Events:

Simple OnEnable
Description: This script runs every time the object this script is attached to becomes enabled.

Example: Play a particle effect when an object is enabled, etc.

Properties:

Input Methods:

Output Events:

Simple OnStart
Description: This script runs once when the object this script is attached to starts up.

Example: Close a door and start a timer when the game begins, etc.

Properties:

Input Methods:

Output Events:

Simple Projectile
Description: This script acts like a projectile when spawned into the game world.

Example: Use with the 'Simple ProjectileLauncher', etc.

Properties:

Input Methods:

Output Events:

Simple Projectile Launcher
Description: This script spawns simple projectile objects into the game.

Example: Launching a Simple Projectile.

Properties:

Input Methods:

Output Events:

Simple Proximity Trigger
Description: Triggers when an entity is with in the specified distance.

Example: When player gets near an NPC then open a dialog, etc.

Properties:

Input Methods:

Output Events:

Simple Reveal Camera
Description: Disables the avatar and moves the camera to specified location.

Example: Use to reveal something the player just unlocked, etc.

Properties:

Input Methods:

Output Events:

Simple State Machine
Description: A list of states that switch from one to the next as requested.

Example: An NPC patrols between waypoints until the player is detected then switches to attack, etc.

Properties:

Input Methods:

Output Events:

Simple State
Description: This state entity is used to start and stop game logic. Use in conjunction with the Simple StateMachine which manages a list of related states.

Example: StartState fires the OnStateEntered event which starts an NPC navigating then calls ExitState when arrived, etc.

Properties:

Input Methods:

Output Events:

Simple Timer
Description: A generic timer.

Example: Rate of fire, blink a light, action cool down, increment time in a counter, etc.

Properties:

Input Methods:

Output Events:

Simple UI Number
Description: Displays a simple UI element consisting of a background, a label and a integer.

Example: Show the current score, display a timer, etc.

Properties:

Input Methods:

Output Events:

Simple Volume Trigger
Description: Triggers when an entity is within the specified volume (box area).

Example: Detect avatar entering a room, detect avatar leaving a room, etc.

Properties:

Input Methods:

Output Events: