Jump to content

[Feature Request] send signal a point on the map to teammates


andy5995
 Share

Recommended Posts

from math import floor
time.sleep(.1)
lastFtime = store.get_global_value("ftime")
# time.sleep(.2)
from datetime import datetime;
time.sleep(.1)
ftime = datetime.utcnow().strftime("%Y%m%d%H%M%S")
store.set_global_value("ftime",ftime)
timeDiffInSeconds = int(ftime) - int(lastFtime)
timeDiffInMin = 0
if timeDiffInSeconds > 0:
    timeDiffInMin = floor(timeDiffInSeconds / 60)
if timeDiffInMin >= 55:
    keyboard.press_key('<backspace>')
    time.sleep(.12)
    mouse.click_relative(500,500,1)
    time.sleep(.2)
    keyboard.release_key('<backspace>')

a little modification of the autoFlare

its not flare automatically (fist time i slect cav using hotkey ALT+C) the next 55 Minutes if you press your hotkey for select the Cav. i use Alt+C for that. this is a autoKey script. i use <backspace> as flare buttion. you config it with autoCiv

 

Edited by seeh
Link to comment
Share on other sites

  • 3 weeks later...

with this flare you dont need to press mouse button. BTW i use <backspace> for flare. set the hotkey in autoKey then also to <backspace>

its a littele autoKey-Script (https://github.com/autokey/autokey works in most linux):

# works most of time. but sometimes not
import time
mouse.click_relative_self(0,0,1)
time.sleep(.2)
mouse.click_relative_self(0,0,1)
time.sleep(.3)
mouse.click_relative_self(0,0,1)

 

Edited by seeh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...