Movespeed
Posted: August 24th, 2009, 11:58 pm
Hi, I'm stuck on a code I'm trying to script and I was wondering if anyone could help?
I tried changing the movespeed, jumpvelocity and setgravity of the character in the game using a script programmed into the cubescript.
But whenever I tried calling the script, I get the error message, PLEASE ENTER EDIT MODE OR THE MAP CFG FILE TO CHANGE MOVESPEED VALUE.
I know for a fact that its possible to change the values by calling a script, I'm just stuck on how.
Anyone can give me a hand?
Thanks in advance.
PS ( Anyone know where the "DIE" code is? I wanna find out how to make it so that if my HP reaches 0, I'll "DIE". I used a simple guitext and argument for the HP, but anyone know the DIE code?)
I tried changing the movespeed, jumpvelocity and setgravity of the character in the game using a script programmed into the cubescript.
But whenever I tried calling the script, I get the error message, PLEASE ENTER EDIT MODE OR THE MAP CFG FILE TO CHANGE MOVESPEED VALUE.
I know for a fact that its possible to change the values by calling a script, I'm just stuck on how.
Anyone can give me a hand?
Thanks in advance.
PS ( Anyone know where the "DIE" code is? I wanna find out how to make it so that if my HP reaches 0, I'll "DIE". I used a simple guitext and argument for the HP, but anyone know the DIE code?)