1
2
3
4
2
3
4
on:use {
if (playergotitem (92) > 0) {
loadmap "Mapname" ;
}
Scripts
Scripting - Fragen/Problemeon:use {
if (playergotitem (92) > 0) {
loadmap "Mapname" ;
}
on:use {
if (playergotitem (92) > 0) {
loadmap "Greenland" ;
}
on:use {
if (playergotitem (92) > 0) {
loadmap "Stranded2/Maps/Insel.s2" ;
}
}
on:use {
if (playergotitem (92) > 0) {
loadmap "Greenland" ;
}
}

unitpathon:load {
unitpath 101 ;
}
unitpath kommt auf der unit selber drauf oder im globalenscript.on:start {
s2:unitpath unitid, infoid,infoid.....;
}
page=Start
title=Hallo!
text=start
Hi, ich heiße Jonny!
Hast du meine Kontaktlinsen gesehen?
text=end
button=ja, Ja, sicher, hier hast du sie!
button=nein, Nein, tut mir Leid...
page=ja
	script=start
	if (var_linsen==1) {
		texture "maps/nativeskin3.JPG" , "unit", 100;
	script=end
		text=start
Yeah! Sieht doch stylisch aus, oder?
Hier haste nen Schlüssel!
		text=end
	script=start
	closemenu;
	script=end
	}
	elseif (var_linsen==0) {
		text=start
Willst du mich verarschen? Du hast doch gar keine!
		text=end
	script=start
	closemenu;
	script=end
}
page=nein
		text=start
So'n Pech...aber ich weiß noch, dass ich sie auf der Weide auf alle Fälle noch hatte...
		text=end
	script=start
	closemenu;
	script=end