Forum

> > Stranded II > Scripts > Broken shop script.
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Broken shop script.

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Broken shop script.

aimeewilbury
User Off Offline

Zitieren
A few months ago, I created a functional shop script (like the trading ones) for selling useless/overabundant stuff (in some of my larger random maps, I tended to end up building a couple thousand feathers and not needing that many arrows) and buying stuff that wouldn't tend to appear without the cheat menu or trading for them (e.g. the rocket launcher). I remember testing it and it worked pretty well. I decided, for my custom mod, to turn the useless "house" object into a shop. Here:

1
2
3
4
5
6
7
8
9
10
11
12
13
### Shop
id=76
name=Shop
group=building
icon=gfx\icons\house.bmp
model=gfx\house.b3d
scale=1.5
health=100000
mat=stone
autofade=3000	
on:use {
     dialogue "start","sys\scripts\shop.s2s";
}

I'm not exactly sure what I did wrong here, but the shop won't load no matter what I do. Any suggestions?

alt Re: Broken shop script.

Corvallis5
User Off Offline

Zitieren
your missing the 'script=start' and 'script=end' definition.

As Pupt3t said before
2× editiert, zuletzt 05.02.12 21:22:35
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht