also Konsole > EVP nützt nichts.... Das Script für die Dancer sieht wie folgt aus: Zitat ScN 01isCommandDancer ;this script will handle the movement and actions of the summonable dancers short moveVAR ;a variable to track the position and state of the dancer float timer short idleVAR ;a variable to track idles short buttonVar short isButton begin onActivate If (IsActionRef player == 1); && (IsOwner) MessageBox "Soll ich für euch tanzen?" "Ja" "Nein" Set buttonVar To GetButtonPressed Set isButton To 1 EndIf End Begin GameMode If isButton == 1 Set buttonVar To GetButtonPressed If buttonVar > -1 If buttonVar == 0 Message "Es wäre mir eine Ehre..." AddScriptPackage 01isDancer1Move EvP ElseIf buttonVar == 1 Message "nein danke..." AddScriptPackage 01isDancer1MoveAway EvP EndIf EndIf EndIf End Begin GameMode if ( moveVAR == 4 ) ;makes dancer dance for 240 seconds set timer to ( timer + GetSecondsPassed ) if ( timer >= 4 ) && ( idleVAR == 0 ) evp pickidle set idleVAR to 1 elseif ( timer >= 34 ) set timer to 0 set moveVAR to 4 set idleVAR to 0 endif End Begin OnPackageDone 01isDancer1Move if ( moveVar == 4 ) Look Player set moveVar to 4 endif End Begin OnPackageDone 01isDancer1MoveAway ;resets variables when dancer is back at original spot set moveVAR to 0 StopLook endif End... Was genau muss daran geändert werden????
Foren-Regeln