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.

Help! Sandbox coding!!

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
davidjanet73
Member
Member
Posts: 2
Joined: June 9th, 2010, 8:44 am
Name: David

Help! Sandbox coding!!

Post by davidjanet73 »

May I ask some about coding in sandbox because I doing my own game. Can I have these in my games:
1. When you've picked up a wood or whatever, is it possible to convert it into another things? (Let's say if you've picked up a iron, and you need to have 2 irons to make a sword.) "I'll make a button at the inventory page."
2. And coding for characters or NPC to walk away or disappears.

Could you experts teach me all of the codings about these? Your reply is appreciated.
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Help! Sandbox coding!!

Post by arcones »

1. Yes it is possible. It would require something similar to this script here: Shop Script

2. NPC' can disappear. However, you wouldn't be able to talk with them again unless you had multiple copies around the map.

Hope that helps!

Arc :geek:
Image
Want a user bar like this one? PM Leo!
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Help! Sandbox coding!!

Post by chocolatepie33 »

Walking away... I don't think so. To make them disappear, you set their trigger type to 12. If you had the right coding (I don't), you could make them wait, then disappear. Otherwise, they'd disappear after about 3 seconds.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked