Spoiler
Begin _magiclamp
short button
if ( onactivate == 1 )
MessageBox "Do you see an old lamp, what dou you want to do??", "rub it", "leave"
set button to GetButtonPressed
if ( button == 1 )
Messagebox "A genie appears in front of you" "Ok"
placeatpc "DM_genie" 15566 7665 1999988
else
return
endif
endif
end
Begin _magiclamp
short button
if ( onactivate == 1 )
MessageBox "Do you see an old lamp, what dou you want to do??", "rub it", "leave"
set button to GetButtonPressed
if ( button == 1 )
Messagebox "A genie appears in front of you" "Ok"
placeatpc "DM_genie" 15566 7665 1999988
else
return
endif
endif
end
When the player chooses "leave" it works well, but, when selecting "rub it" it makes the same as "leave", the messagebox dissapears and you can repeat this process all times you want, but the enie does′nt appear...why?
Thanks