Quote:
Originally posted by Python523
No, they would be events, events are things that are true when an action happens, flags are things that are true when something equals the flag
|
Actually, if you have ever tried to use them, you would know they are flags. To find out when someone has clicked the left mouse button, this does not work...
NPC Code:
if (leftmousebutton) {}
The EVENT to figure out when a mouse button is pressed is mousedown. So, to figure out when a player clicks the left mouse button...
NPC Code:
if (mousedown && leftmousebutton) {}
It fooled me the first time, too, but leftmousebutton, rightmousebutton, and middlemousebutton are flags.