SCN 002blub
short pressed
short button
Ref MyRef
Ref ActivatorRef
begin onactivate
if pressed==0
MessageBox "Was gibts?", "Folgt mir!", "Wartet hier!", "Geht zurück zur Burg!", "Ausrüstung ändern!"
Set Pressed to 1
endif
end
begin gamemode
if pressed==1
set button to getbuttonpressed
if button==0
addscriptpackage blaollow1
set button to 4
set pressed to 0
elseif button==1
addscriptpackage blawander1
set button to 4
set pressed to 0
Elseif Button ==2
addscriptpackage blaWegmitdem
set button to 4
set pressed to 0
ElseIf Button ==2
Set MyRef To GetSelf
If MyRef == gef1RefX1
gef1RefX1.Activate Player
Elseif MyRef == gef2RefX1
gef2RefX1.Activate Player
endif
set button to 4
set pressed to 0
Return
endif
endif
end