£exa
Freund des Hauses
Also das:
...ist Murx.
Das hingegen:
...wird funktionieren.
Code:
begin Horst
float timer
short lol
if ( MenuMode == 1 )
return
endif
if ( OnActivate == 1 )
if ( lol == 0 )
Set timer to ( timer + GetSecondsPassed )
if ( timer < 3 )
"ACTIVATOR"->MoveWorld z -100
return
set lol to 1
endif
endif
endif
end
Das hingegen:
Code:
begin Horst
float timer
short state
IF ( MenuMode == 1 )
Return
ElseIF ( state == -1 )
Return
EndIF
IF ( OnActivate == 1 )
set state to 1
EndIF
IF ( state == 1 )
set timer to ( timer + GetSecondsPassed )
IF ( timer < 3 )
"ACTIVATOR"->MoveWorld z -100
Else
set state to -1
;do something else here
EndIF
EndIF
end