Caspi
06.01.2007, 23:19
Ich wollte ein Musik amulet machen ich bin auch schon fertig aber ich weiß nicht ob sie Klappen des wegen wollte ich fragen(Viele werden sagen warum testet er es nicht selber,weil mein morrowiund kapput ist)
begin AmuletMusikScript
short state
short button
short OnPCEquip
if ( OnPCEquip == 1 )
MessageBox, "Was wollt Ihr hören?", "Musik 1", " Musik 2", " Musik 3", "Nichts hören"
Set state To 2
Set OnPCEquip To 0
endif
if ( state == 2 )
Set button To GetButtonPressed
if ( button == 0 )
PlaySound3D "Musik 1"
elseif ( button == 1 )
PlaySound3D "Musik 2"
elseif ( button == 2 )
PlaySound3D "Musik 3"
elseif ( button >= 3 )
Set state To 0
endif
endif
end AmuletMusikScript
begin AmuletMusikScript
short state
short button
short OnPCEquip
if ( OnPCEquip == 1 )
MessageBox, "Was wollt Ihr hören?", "Musik 1", " Musik 2", " Musik 3", "Nichts hören"
Set state To 2
Set OnPCEquip To 0
endif
if ( state == 2 )
Set button To GetButtonPressed
if ( button == 0 )
PlaySound3D "Musik 1"
elseif ( button == 1 )
PlaySound3D "Musik 2"
elseif ( button == 2 )
PlaySound3D "Musik 3"
elseif ( button >= 3 )
Set state To 0
endif
endif
end AmuletMusikScript