After 3 seconds of holding the mouse over an entity I want that entity to be targeted as long as the mouse is held over it. My brain is fried... anyone have an idea? I'm working with types. Here's my non-working pathetic code (I realize targettimer is always set to millisecs... this is where I'm stuck)...
CameraPick(x\camera,MouseX(),MouseY()) For b.bot = Each bot If PickedEntity() = b\entity And MilliSecs()=>targettimer+3000 b\targeted=True Text GraphicsWidth()/2,GraphicsHeight()/2,"targeted" Else b\targeted=False targettimer=MilliSecs() EndIf Next