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.
Shop Example Script
-
- Member
- Posts: 3
- Joined: August 29th, 2010, 3:36 pm
Re: Shop Example Script
im new to scripting in sandbox i was wondering if some one would explane how to atach the script to the shop keper so when you walk near him he would talk an bring up the shop menu also how to make quest and rewards for the compleation of the quest thanks
Re: Shop Example Script
Ask in the support board.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:
viewtopic.php?f=9&t=2704&start=0
My tutorial site - still under construction, but lots of good stuff there:
http://pasandbox.webs.com/
viewtopic.php?f=9&t=2704&start=0
My tutorial site - still under construction, but lots of good stuff there:
http://pasandbox.webs.com/
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Shop Example Script
I'm not sure what you mean by attach...
To get the shopkeeper to work, you need to place an ogre model (F1, tab 4 or 5, I think), add an invisible model where the ogre is (in the console: / newent mapmodel -1 ) and give it trigger type 11, trigger tag 2 (or whatever the shopkeeper tag is in the script.)
To get the shopkeeper to work, you need to place an ogre model (F1, tab 4 or 5, I think), add an invisible model where the ogre is (in the console: / newent mapmodel -1 ) and give it trigger type 11, trigger tag 2 (or whatever the shopkeeper tag is in the script.)
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
-
- Member
- Posts: 368
- Joined: September 13th, 2010, 12:26 am
- Name: Dalton
- IRC Username: Daltonds1
- Location: Tomball, Texas
Re: Shop Example Script
This isnt that great if you have 6+ items
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
-
- Member
- Posts: 368
- Joined: September 13th, 2010, 12:26 am
- Name: Dalton
- IRC Username: Daltonds1
- Location: Tomball, Texas
Re: Shop Example Script
it doesnt go down its just a big long line
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Shop Example Script
So wait, Cubescript also has an If... Else function? I thought it was just If... (and that's it).Leo_V117 wrote:Quick Note Harrison... Change it to this:That way it tells you instead of opening a new guiCode: Select all
else if ( < $money 10 ) [ echo "Sorry, you don't have enough money to buy this!" ]
Speaking of which, is there a switch case function or something similar then?
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Re: Shop Example Script
*grumble grumble*
docs are written not to be read
*grumble grumble*
http://sandboxgamemaker.com/wiki/index. ... FDecisions
*grumble grumble*
just keep in mind there's a 25 word limit, the command is the first so you can provide up to 24 additional arguments
docs are written not to be read
*grumble grumble*
http://sandboxgamemaker.com/wiki/index. ... FDecisions
*grumble grumble*
just keep in mind there's a 25 word limit, the command is the first so you can provide up to 24 additional arguments
This is not a url, clicking it is pointless
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Shop Example Script
OK, thanks Hirato. Just wondering.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Re: Shop Example Script
nice one!
Good job fella!.. you had contributed something useful, specially for me..
______________________________________
gi joe sword -- Our swords shall play the orators for us.
Good job fella!.. you had contributed something useful, specially for me..

______________________________________
gi joe sword -- Our swords shall play the orators for us.