How can add cheats to the game?

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

How can add cheats to the game?

Postby Taretia » Sun Oct 09, 2005 9:06 am

How can I add cheats? So if the player push a button, a small input field pops up and if they write in the correct words, something happens (+money etc.)?
Taretia
Taretia
Active Member
 
Posts: 97
Joined: Fri Jul 22, 2005 4:23 pm
Location: Ireland

Postby ShadowHunter » Sun Oct 09, 2005 11:08 am

Hi,

Easy... see my Tic-Tac-Death script or my trial and registration script on my website... just an example but it might be usefull :wink:

Kind regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium

Postby Taretia » Sun Oct 09, 2005 11:21 am

Thanks!
But how can I use them to make cheats? :oops:
Taretia
Taretia
Active Member
 
Posts: 97
Joined: Fri Jul 22, 2005 4:23 pm
Location: Ireland

Postby GM-Support » Sun Oct 09, 2005 5:07 pm

Hi,

Try using the following code:

Code: Select all
password = "aj4dm8"
Do
  returnvalue = InputBox("Please enter the password to enter the room.","Password")
  Select Case returnvalue

     Case ""
       MsgBox "You have clicked Cancel"
       Exit Do

     Case password
       MsgBox "Passwork OK. Entering the room..."
       Action.GoToFrame "image30"
       Exit Do

     Case Else
       MsgBox "Wrong passord. You will now be asked the password again."

  End select
Loop


GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby Taretia » Sun Oct 09, 2005 7:49 pm

Ok! Thank you!
Taretia
Taretia
Active Member
 
Posts: 97
Joined: Fri Jul 22, 2005 4:23 pm
Location: Ireland


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron