guess wat im a noob, i need help with every little thing i do, so can any1 help me.
ill take a guess, (blue)
i need halp cause im a pointless noob, so plz help me!
Real Problem:i have started to make a steal event, using condition branches, u can random amount of cash, i want to know if u can mak a guy who stands there, and will randmonly when u r stealing, will go" oi u, stop stealing" and stop u from taking money.
Anyone?
*Sighs* Well when you steal something from him set a random variable to pick a random number between, oh lets say 1 and 5, if it picks for example 3 make a message saying "Oi you stop stealing" Problem solved, mayby blue or someone else can find an easier way.
Noobs.
Right before you have the random money taking thing, put
a Set Variable and make it random.
then a Conditional Branch for if they variable happens to be a certain number(say 5) and if it is, put dialouge for the guy telling you not to take the money, then put the part of the event where you actually take the money in the [else] condition.
Another way to add a chance is make 2 variables 1-100 and 1-5
Success of the first one is 37+ else handler: You failed to steal.
Second one, and this only happens if the first succeeds...
if the variable is 4 the guy goes "Hey, stop that!" and you don't get the gold, else handler make it set a variable from 1-200 and make the gold you gain equal that variable. To show a message like "You gained 187 gold!" Suppose the third variable is variable 3 make it: "You gained \v[003] gold!"
Now if I understood you right, basically you want a police to come from somewhere. okay now instead use the 1-5 variable if it hits 4 to start a switch called "Police" and set a police event that follows you to be activated when the switch Police is on. When he appears it goes "Hey you! stop!!" and then when he touches you, you get arrested or have to pay the gold back or get a fine etc.
for pay the gold back, make you lose the variable that was set to 1-200 in gold without setting it to go off again, for a fine that will be set depending on the variable number. like 1-50 stolen = 200 gold fine 51-100 stolen = 500 gold fine 101-200 gold stolen = 1000 gold fine
When you get arrested you're teleported to a jail and after a time, make it say like Wait 300 frames and then it sets off a switch for the police guy to come and let you out.
But afterall the situations I gave you when you get caught, make sure you turn off the switch Police
noob= anoying person
newbie= person who is new to game making
never think you are a noob for asking a question and patiently waiting for a reply :)
i have a event i maked awhile ago, however it not so good
Quote from: ahrefnoob= anoying person
newbie= person who is new to game making
never think you are a noob for asking a question and patiently waiting for a reply :)
im not, i was being sarcastic from the last forum i was in
i do know wat varibles are, but dont know wat they r used for, can any1 help on that to? :O_o:
Its pretty much the same as a switch, the only difference is you must imput a number, variables are mainly used to keep track of certain things!
For example you need to find 3 cats, you can find them in any order you want, now you could do it with 3 switches, but why do that when It can be done with one variable?
So when you find a cat you use variable operation and make it +1. Now do that with all the other cats, and presto. (I know I missed a vital part out of this tut but i'm using it as an example)
Quote from: ahrefnoob= anoying person
newbie= person who is new to game making
never think you are a noob for asking a question and patiently waiting for a reply :)
for the last time
newbie is someone who doesn't know the answer, admits it and asks
noob is someone who doesn't know the answer, think he does and tell other what he think is the answer is right
annoying person is an annoying person.
anyways problem was already solved on the 2nd post by pie
and dt added all sorts of stuff to make it look better
but problem solved, end of story.
lock or stop replying -.-
well thats what i said :)
anyway blue is right ill stop posting now