Resuming. Does same shit with a more complicated code and naming..... Even i had to look twice to understand .
Correct if im wrong from what i see u set a node to death:
disposal.nodeManager().getNode().getNodeEvent(Node Type.DEATH) !
And from thereon when it dies it does the code on death node all time.... Whats the purpose then if its same all time?
if (node.getNodeEvent(type).called) {
node.getNodeEvent(type).processThis();// Gunna process the event
node.getNodeEvent(type).called = false;//Gunna stop it
}
The action is stopped in the same game tick
I don't care to sound stupid but what is this used for?
Originally Posted by Taylor Moon
Summary: If a task is awaiting execution and the player is in an active 'event handler' (node) the task that is waiting execution is denied and replaced with the task given in the node. Otherwise, the default action is executed.