in Draw actor -> Script editor
- Code: Select all
char *key=GetKeyState();
y-=(5*key[KEY_w])*((1/(key[KEY_d]+key[KEY_a]+key[KEY_s]+1)));
y+=(5*key[KEY_s])*((1/(key[KEY_d]+key[KEY_a]+key[KEY_w]+1)));
x-=(5*key[KEY_a])*((1/(key[KEY_d]+key[KEY_w]+key[KEY_s]+1)));
x+=(5*key[KEY_d])*((1/(key[KEY_w]+key[KEY_a]+key[KEY_s]+1)));
I dunno if someone has already done this, but I'm just post'n might help some1 in someway XD
Inspired by DST's post in
viewtopic.php?f=5&t=6854&start=15
1+ to DST XD