Scripting
From Wolfire Games Wiki
Overgrowth is using AngelScript as its core scripting language.
Checking for Keypresses:
You can check for keypresses by using the boolean check function GetInputDown():
example:
GetInputDown("a")
This code will return true if 'a' key is being held down and false if it is not.
- end example
List of key references
| Desired Input Key | Scripting Representation |
|---|---|
| a | a |
| b | b |
| c | c |
| d | d |
| e | e |
| f | f |
| g | g |
| h | h |
| i | i |
| j | j |
| k | k |
| l | l |
| m | m |
| n | n |
| o | o |
| p | p |
| q | q |
| r | r |
| s | s |
| t | t |
| u | u |
| v | v |
| w | w |
| x | x |
| y | y |
| z | z |
| Left Mouse Button | attack |
| x | x |
| x | x |
| x | x |
| x | x |