
I want the user to click on one hotpot and have it display random messages...at least 3..
Any suggestions would be welcome..
Peace
Adieux..~
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
yourvariable=Int(Rnd*the_number_of_random_messages)+1
Select case yourvariable
Case 1
Action.Message "Hi"
...
End Select
Messages=Int(Rnd*3)+1
Select Case Messages
Case 1
Action.Message "Grass is Pretty TAll"
Case 2
Action.Message "I can't see that well.."
Case 3
Action.Message "Are we done here?"
End Select
randomize
i = int( RND * 3 ) + 1
If i = 1 then Message "Hi1"
If i = 2 then Message "Hi2"
If i = 3 then Message "Hi3"
ShadowHunter wrote:Hi Mercedes,
The code is fine, just add "randomize" on top of your code![]()
That does the trick !
With best regards,
ShAdOwHuNtEr
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests