Can someone help me to create a script? Topic is solved
Can someone help me to create a script?
I have been trying to learn and make or edit some scripts for Warframe. Specifically the spin attack. I want to bind it to my mouse 5 button but it won't work. Any help is appreciated.
- eventhorizon
- Posts: 158
- Joined: 27 Oct 2016, 14:22
Re: Can someone help me to create a script? Topic is solved
Question: how do you do a spin attack in the game without a script? Exactly what key strokes, in what precise order and timing does that require? Answer those questions and perhaps someone can help you.
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of handguns and tequila.
Re: Can someone help me to create a script?
I'd also like to know how to do what OP wants.
To complete the action ingame one presses and holds left ctrl button then presses E while holding ctrl. The two are then released and the action would want to be repeated when pressed.
To complete the action ingame one presses and holds left ctrl button then presses E while holding ctrl. The two are then released and the action would want to be repeated when pressed.
- eventhorizon
- Posts: 158
- Joined: 27 Oct 2016, 14:22
Re: Can someone help me to create a script?
ok so according to the post...
to bind this to mouse button 5 then .
this code is untested
so to start the action i would pick a hotkey like alt-z for example...To complete the action ingame one presses and holds left ctrl button then presses E while holding ctrl. The two are then released and the action would want to be repeated when pressed.
Code: Select all
!z: ;<-hotkey to do a spin attack
suspend on
send {ctrl Down}E{Ctrl Up}
return
Code: Select all
; this is a standard header i put on all my scripts...
#NoEnv
#SingleInstance, Force
#MaxThreads, 100
#MaxThreadsPerHotkey, 2
#Persistent
SetBatchLines, -1
DetectHiddenWindows, On
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
CoordMode, Tooltip, Screen
SetTitleMatchMode, 2
SetTitleMatchMode, slow
SetKeyDelay, 100,100
SetMouseDelay 10
SetDefaultMouseSpeed, 0
SendMode Event
#InstallKeybdHook
#InstallMouseHook
#UseHook, On
; any globals i need to initialize go here
return ;<- explicit end of autoexecute section of script
!z:: ;<- just to have as a backup
XButton2:: ;<- should be mouse button 5
suspend on
send {ctrl Down}E{Ctrl Up}
return
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of handguns and tequila.
Who is online
Users browsing this forum: Google [Bot] and 48 guests