Hi, I have an entity which another function when clicked on, and that second function gives it a pointer, while the original action it's running does not. How do I get the entity to no longer have the pointer once it's finished running through the second function? Thanks
I have an object that runs an action called truck. in truck there's a part that says:
if (mouse_left) selected(); //selected being another function
in selected it says:
function selected() { selected_piece = me; // ... rest of the code return; }
how do I have the entity lose the "selected piece" pointer (which I define at the top) when something happens, like when the loop in selected ends or whatever?
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;