Games n ..... More games?
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Lock Picking Skill

Go down

Lock Picking Skill Empty Lock Picking Skill

Post  Nicholas Sun 07 Oct 2007, 01:09

A lock picking skill!

The following can be used for anything. e.g. a door

You can also implement a system so you can only lock pick when you have a lock pick. The lock pick could fail after a number of times using it.


1.
Create a new event on your map by double clicking when on the event tab.

2.
Click on the bubble "action button"

3.
Double click on the blank area inside the event and a list of buttons will come up.
Click on the one that says "Show Text".

4.
Type in "Would you like to attempt to pick the lock?"

5.
Now underneath the text process double click.
Now select "Show Choices". When the box comes up just click ok.

6.
Under the "yes" option double click and click on "control variables".

7.
Under that create a new variable by clicking on the top box and typing in the name of the variable. Call it "Random Number" for now.

8.
Now tell it to set the variable to a random number between 1 and 100 and click ok.

9.
Underneath that, put in a "Conditional Branch" process. Set it to check if the variable you made is above 50. Click ok.

10.
Now between where it says "Conditional Branch" etc. and "Else", Put a text process saying "You picked the lock!" and then underneath that put a transfer player process to another map.

11.
Now between where it says "else" and "branch end", put a text process saying "Lock pick failed".
Nicholas
Nicholas
Colonel
Colonel

Male
Number of posts : 126
Registration date : 2007-10-05

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum