From Wolfire Games Wiki
Revision as of 21:45, 10 February 2010 by John (talk | contribs) (creating table for list of inputs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overgrowth is using AngelScript as its core scripting language.

Checking for Keypresses:

You can check for keypresses by using the boolean check function GetInputDown():



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