Re: How do i Run 2 or more events at the same time?
Posted: Fri Mar 04, 2016 9:34 pm
So well On the bottom , i can say it is "Well" because the two statements go under a condition , Then it should be at the Fireable var. IT could bebecause they aren under a condition , As far as i know livecode is alane executing progra so it goes line by line, so this make an No-End repeat just with the send Command. So, i should change the location of Exit Fire(or delete it) and i need to change the location of "Put fale into fireable". another logical anwser or idea i can have is changing the milliseconds time to give a good time to check The statment. Well, ill try both cases then. Thanks for the hint, itsvery clear rigth now , well Then tried the time now, (doing this at the same time im writting ) To dont make a topic full of replys , the time Did not work , so its going to reduce to the PutFalse Location , as i saw or the True location can be an option too, so i cant put it out of the if so i need to put that sentence in the if or under it , I cant put it above the Send message so it need to be under it , so well im trying and trying dont get the correct location of False But if it is not the Put Fals into Variable , If it is the true? So Yeah actually i dont see the Exact way of Fireable is always True, I think on the if or the put location or the send message althoug but i surely know that is not the move and the show/hide Commands , i not used To Send commands and this is my first time working with True and false at this level, Should be notorious that im not an american - english person, And Yeah i literally dont know anything about Real programing, in my class (Second year - High school) We just only use Interger and real we saw if and Case of In pascal but nothing like set or arrays. Livecode Set and Pascal Set are totally difirent Afaik, So well Thanks for your hint , and i will try by numbers, Have nice Day / nigth . If you want say How its by the true and Flase way it will help much for future development , and one last question for the numericway if i do:
i think that is not the way because is the same as i used in True/False Sentences ; So yeah i figured were was the rror But did not figuret that Fireable was always being true. (at some point i Tought Fireable Was not setting to false Value so, Well i conclude it was the True or False Sentence were the error is , Ifyou can clarify me on the true and False way Thanks, For being Tolerant , Responsible and patient with me, Thanks for all the help Gived
Code: Select all
Local NFF
#NumberForFire
On keyDown Pletter
If pletter is Space then
Add 1 to NFF
if Nff = 1 Then
Do hide
Do show
Do setLoc
Do move
Do send
Substract 1 to Nff
End if
#Do - command is just an example