Originally Posted by
SoFarOK
Ok not it works, but there is a way to use it also without activation (no scope). And what is different from the Heroic script?
herotic uses a macro that shoots 1 bullet very quickly.. (my Macro does that too) but the script changes only the mouse Position without tapfire.
i will update the script tomorrow in the release threat now i have a 80% working shield function.
try this one :
Code:
local recoil = false
local rapidfire = false
function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %s\n", event, arg)
if (event == "PROFILE_ACTIVATED") then
EnablePrimaryMouseButtonEvents(true)
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 8) then
if (IsModifierPressed("shift")) then
recoil = not recoil
rapidfire = false
if (recoil == true) then
OutputLogMessage("Recoil is On\n")
else
OutputLogMessage("Recoil is Off\n")
end
else
OutputLogMessage("Recoil is Off\n")
end
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 1 and recoil == true and rapidfire == false) then
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(-1,7)
Sleep(14)
MoveMouseRelative(1,-7)
Sleep(14)
until not IsMouseButtonPressed(1)
end
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 8) then
if IsModifierPressed("alt") then
rapidfire = not rapidfire
recoil = false
if (rapidfire == true) then
OutputLogMessage("Rapidfire is On\n")
else
OutputLogMessage("Rapidfire is Off\n")
end
else
OutputLogMessage("Rapidfire is Off\n")
end
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 4 and recoil == false and rapidfire == true) then
repeat
PressMouseButton(1)
Sleep(64)
ReleaseMouseButton(1)
Sleep(73)
until IsModifierPressed("shift")
end
end