Page 1 of 1

Shopscript help please!!

Posted: April 11th, 2010, 1:45 pm
by HAHAHAHA
Can someone please tell me how to use the shopscript that sandbox kindly made. i dont know what to use it on, how to make a trigger, or even how to make a shopkeeper. I am new to this. Thanks!

Re: Shopscript help please!!

Posted: April 11th, 2010, 3:58 pm
by Venima
ok. First make sure you're in FPS. Then make sure you're in single player mode. (Click load map and click on the very last tab in the window. You'll need to load a map for this to accept the changes)

When you create a mapmodel (F1) you can click on it (or click on the box that surrounds it) and press F3 to modify it's rotation etc.

The "Trigger tag" setting is the level trigger that this mapmodel will trigger. The "Trigger type" setting is in what way it is triggered. Refer to this for the list of trigger types: http://sandboxgamemaker.com/platinumart ... _mapmodel_

By hitting F6, you can edit the "cfg" for that map. This is basically the script editor. Save the map before you edit this (perhaps as Testmap). Anyway, instead of editing it ingame you can edit it in notepad. It is located in the "my_stuff\packages\base" folder as <mapname>.cfg. Double click this and choose to open it with notepad. You can copy and paste the shop code in here. For each of the level triggers in the script, match it with the mapmodel you desire by setting the mapmodel's trigger tag the same as the level trigger's number.

If you don't understand please do let me know.