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.
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.
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!!
-
- 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!!
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
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


Want a user bar like this one? PM Leo!
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Help! Sandbox coding!!
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!