Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Movespeed

Talk about anything related to Platinum Arts Sandbox here!
Locked
carter472
Member
Member
Posts: 14
Joined: June 18th, 2009, 1:34 am
Name: Adam

Movespeed

Post by carter472 »

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?)
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Movespeed

Post by Mike »

In the .cfg it is just:
movespeed 500

Default is 150 I think. Take care!
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
Locked