du gehst in dein roomscript, definierst am anfang
// room script file
int zahl = 0;
dann unter:
// script for hotspot5: Interact hotspot
wenn es ein hotspot ist zb:
if(!zahl) // wenn zahl ist 0
{
MoveCharacterToHotspot(SYD,5);
face_down();
Wait(40);
DisplaySpeech(SYD,"I don't want to drive now, but maybe there are some useful things inside.");
AddInventory(5);
DisplaySpeech(SYD,"Oh, only found 1 coin in the center console; next time I shouldn't buy so many drinks to the girls.");
}
else if(zahl == 1)
DisplaySpeech(SYD,"I cut the exhaust pipe, so now it sounds really cool");
else if (zahl == 2)
DisplaySpeech(SYD,"It has only 50 Horsepower, but I only drive in the city and there are other things in demand!");
else
DisplaySpeech(SYD,"I drive in an Online-League,
http://www.virtual-racing.org, with the same design!");
zahl++;
ps: schau dir mal die hilfe an, vorzugsweise den abschnitt text scripting, da steht drinnen wie man variablen definiert.
gruss
rocco