ich schreibe mier immer die wichtigsten scripts auf,
jetzt habe ich meinen Zettel gefunden.
Übrigens fehlte mier
stoptrigger "self";}
Scripts
Scripting - Fragen/Probleme
model
ai_stay ID,1;
ai_stay ID,0;
ai_stay
createrandom; Dort einfach bei der Höhe 0 bis 10 angeben. on:start { unitpath 114,7,6,5; }
on:node0005 {
unitpath 114,6;
ai_stay "self",1;
timer "unit",114,20000;
}
on:timer {
ai_stay "self",0;
unitpath 114,7,8,9,10,11,12,13,14,15,16,17,10,9,8,7,6,23;
ai_stay "self",1;
}
on:timer {
ai_stay "self",0;
unitpath 114,7,8,9,10,11,12,13,14,15,16,17,10,9,8,7,6,23;
}
on:node0023 { ai_stay "self",1; }
on:start {
randomcreate "item", 24 ,0,10000 , 600;
}
)on:start
	{
	loop ("count", 100)
		{
		randomcreate "item", 24, 1, 15;
		}
	}