|
-
Game Master
Edit Box help
I had an edit box that goes up 10 every second (I made a scene saying "edit box=edit box +10" [delay 1 sec]). But I want the scene to stop once the edit box reaches 100. I tried an action saying "if (edit box>99){stop movie}". I know i have the right idea but im writing it wrong. please help.
-
KoolMoves Moderator
 Originally Posted by ConnELITE
I had an edit box that goes up 10 every second (I made a scene saying "edit box=edit box +10" [delay 1 sec]). But I want the scene to stop once the edit box reaches 100. I tried an action saying "if (edit box>99){stop movie}". I know i have the right idea but im writing it wrong. please help.
why not just wrap the first code in an If statement
if (editboxvar<100){
editboxvar+=10
}
Also best to use a variable for the editbox when doing math with it.
-
Game Master
uhrrrgg!!! Sorry, I was thinking so hard to figure out what to do and you tell me and I find out the answer was sooo easy!! oh well, I guess some things you just need to be told. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|