Lock Picking Skill

Go down

Lock Picking Skill

Post  Nicholas on 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".

_________________
You can't leave footprints in the sands of time if you're sitting on your butt. And who wants to leave buttprints in the sands of time?

I can resist everything except temptation.

Power corrupts. Absolute power is kind of neat.
avatar
Nicholas
Colonel
Colonel

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

View user profile

Back to top Go down

Back to top

- Similar topics

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