Posted By
|
Message
|
sententia
Registered 20/09/2005
Points 162
|
21st October, 2005 at 16:37:50 -
This is a really strange problem...
In my game, I have a library-like thing where when you click the button, it creates that object. For each button (and object) all of the rules for creating and moving around are the same, but for some reason, 2 of the objects create two of the object instead of one, and then if you try clicking the button again, the two objects come back to the buttons area and it doesn't create. Here are the rules:
Button is clicked-
-Create object at relevant to Button
-Set internal flag 1 of object on
Always
+Internal flag 1 of object is on-
-Set X position of Object to X position of Cursor
-Set Y position to Y position of Cursor
User clicks with left mouse button on object-
-Toggle internal flag 1 of object
For some reason, it works for 5 of the items, but not for the other 2. Any ideas why?
n/a
|
|
|