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.

key bind

Talk about anything related to Platinum Arts Sandbox here!
Locked
MARCochern
Member
Member
Posts: 1
Joined: July 17th, 2009, 12:32 pm
Name: Eunice

key bind

Post by MARCochern »

Hello,

I'm new to Sandbox and I need help in key binding.

In my game, my RC character is able to punch (credits to GoBologna120 for the animation file), but I'd like to know how to bind that attack action to a key on the keyboard or mouse, like how the player was able to throw fruits when pressing the left mouse button in "the Exciting Adventures of Master Chef Ogro".

I read the wiki and by refering to a few script examples, I tried the commands bind and onrelease. But I think I need to understand more on how it works, because ,my attempts failed (no surprises here)

Can anyone please help? Thanks!
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: key bind

Post by Mike »

I've hopefully adequately answered this in e-mail. Essentially he would need to replace the ogre model with the rc model in rpg.cpp. If that alone doesn't work we'll have to dig deeper into it. 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