Author Topic: Have to click twice to make variables work right?  (Read 933 times)

On most of my variables it works perfectly but im trying to make a quest in My Mid-Evild RPG but....
So im trying to make a quest and It starts out where you click on a person and he tells me to go Raise my flag. I try and go raise my flag it dosent work but when I go back to the guy and click him again. I go back to flag and click it but this time it works! I go back to guy and click him he says you havent raised your flag yet then i click him agin he says the same thing again. I click him 1 more time and it works.
Ive checked 100's of times all my variables are right can someone help me please?

Here are some possible things i think it could be-

To many scripts on one brick but it dosent say so

some how i did it wrong but i cant figure out how

To many scripts on one brick but it dosent say so

This made me lol.

You most likely didn't do it right.

On most of my variables it works perfectly but im trying to make a quest in My Mid-Evild RPG but....
So im trying to make a quest and It starts out where you click on a person and he tells me to go Raise my flag. I try and go raise my flag it dosent work but when I go back to the guy and click him again. I go back to flag and click it but this time it works! I go back to guy and click him he says you havent raised your flag yet then i click him agin he says the same thing again. I click him 1 more time and it works.
Ive checked 100's of times all my variables are right can someone help me please?

Here are some possible things i think it could be-

To many scripts on one brick but it dosent say so

some how i did it wrong but i cant figure out how


Maybe if you typed up the events we could help you.

Give us the list of events used.
Order and delay does matter.

Give us the list of events used.
Order and delay does matter.
ok

Give us the list of events used.
Order and delay does matter.

ok srry for double posting but i wasent thinking and hit wrong button but here they are:
for they person you talk to to start the quest:
Onactivate - self - ifvariable - player - general goods quest done - greater - 1     
(with a 35 milisecond delay)  onactivate -  player - addvariable - general goods quest - 1
variabletrue - client - center print - you've done this quest already - 4
onactivate - self - ifvariable2 - palyer - general good quest - greater - 1
onactivate - player - additem - parachute
onactivate - client - centerprint - Can you carry this package to my friend in the mountains?
variabletrue2 - player - removeitem - parachute (box not checked)
Variabletrue - player - removeitem - parachute (box checked)

thats what all the guy you originaly talk to has to start the quest

Heres the guy to finish the quest

onactivate - self - ifvariable - player - general goods quest - greater - 1
variabletrue - player - removeitem - parachute (box is checked)
(35 milisecond delay) variabletrue - player - addvariable - general goods quest done - 1
onactivate - self - ifvariable2 - player - general goods quest done - greater - 1
variabletrue2 - client - centerprint - You've already done this quest.

I think there does happen to be a problem with having two variables or something. I don't know I don't play with that stuff, sorry.

Change each of those "greater" to "equals" or "greaterequals".

Change each of those "greater" to "equals" or "greaterequals".
for some reason my equals dosent work thats another problem lol.

There's probably a problem with it. Just try greaterequals.

There's probably a problem with it. Just try greaterequals.
alright thx's for help everythings working now of course except for equeals but thx's for all your help! +D