Forum

> > Stranded II > Maps/Editor > "start" event bug in editor
ForenübersichtStranded II-Übersicht Maps/Editor-ÜbersichtEinloggen, um zu antworten

Englisch "start" event bug in editor

10 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt "start" event bug in editor

Warbringer
User Off Offline

Zitieren
Hi there,
Just logged in here, becuase I have problem with my S2.
When I run the editor and open a map with some scripts
in "start" event, the script executes immediately in editor.
That may be OK, but when I run the map in game itself, the script is running multiple times. For example:

Give player 5 bananas at start. Go to editor to make some little corrects in the map. Run the map again. Get 10 bananas. Open editor again to find out what the hell is going on there. Everything OK, save map and run it again. 15 bananas. Game restart does not help.

The problem started to appear when I run S2 on Win7, it was everything OK on XP. Any ideas?

alt Re: "start" event bug in editor

Klirkz
User Off Offline

Zitieren
So, you have a global-script? With something like that:
1
2
3
on:start {
	find 14,5;
}

I just tried it – had some problems running S2 on Win8 as well – but for me it was working.
Just for interest: If you’d insert s2 cmd freestored, then you should have 5 bananas again, right?

1
2
3
4
on:start {
	freestored unit,1,14;
	find 14,5;
}

alt Re: "start" event bug in editor

Warbringer
User Off Offline

Zitieren
It works, thanks!

But it works only with items.
How about diary entries which are repeating?
I tried the same way, used "freeentry" command at begin of script,
but now it's counterwise: no diary entry. I want just know, WHY is this happening and how can it be fixed?

alt Re: "start" event bug in editor

Klirkz
User Off Offline

Zitieren
Yeah, it is very strange. I don’t think you can do much about it in-game. So have you tried to reinstall the whole game?

As to the diary entries: Make sure s2 cmd freeentry is placed before your s2 cmd diary command! Otherwise it gets deleted right away.

alt Re: "start" event bug in editor

Warbringer
User Off Offline

Zitieren
I have no idea how to fix this, but I managed to bypass the "start" event. Time trigger info does what "start" event does not!
Anyway, thanks for help, man.

alt Re: "start" event bug in editor

Warbringer
User Off Offline

Zitieren
It worked!
But I can forget about freeze time on my maps.
Well, partially solved. It's possible that
I alone have this problem, but if not,
the DC himself should take a look at this.

Damn, S2 doesn't have many bugs, but when one finally appears, it's friggin' hard!.

alt Re: "start" event bug in editor

Warbringer
User Off Offline

Zitieren
XP compatibility didn't work. I don't see any way to fix it. Fortunately I have a backup copy of my S2 from time before this bug occured. Maybe this time I'll have more luck.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Maps/Editor-ÜbersichtStranded II-ÜbersichtForenübersicht