Scriptname AASSQuestScript extends QuestMessage Property AASSMessage00 Auto ; MessageBox with 3 choicesMessage Property AASSMessage01 Auto ; Message 1 (Notification)Message Property AASSMessage02 Auto ; Message 2 (Notification)Message Property AASSMessage03 Auto ; Message 3 (Notification)Int Property Version Autoint InitEVENT OnInit()RegisterForUpdate(5)EndEVENTEVENT OnUpdate()if ( Init == 0 ) RegisterForUpdate(1) AASSMessage00.Show() Init += 1elseif ( Init == 1 ) Version = AASSMessage00.Show() if ( Version == 0 ) AASSMessage01.Show() Init += 1 elseif ( Version == 1 ) AASSMessage02.Show() Init += 1 elseif ( Version == 2 ) AASSMessage03.Show() Init += 1 endifendifEndEVENT
The problem is that the MessageBox (AASSMessage00) appears twice; the first time i click on one of the 3 options and it does nothing, then the box shows again and this time when i click the options it works, the others messages are displayed.
In the CS this script would be the same in GameMode excepted that you would use GetButtonPressed. Can someone tell me what i'm doing wrong ?

you could probably get rid of the first block of that if(init == 1) and use if(init == 0)