Open jlolz1337 opened 5 years ago
Charlatano/src/main/kotlin/com/charlatano/scripts/BoneTrigger.kt :
import org.jire.arrowhead.keyPressed
private val onBoneTriggerTarget = hook(1) {
if (ENABLE_BONE_TRIGGER && keyPressed(KeyEvent.VK_ALT)) findTarget(me.position(), clientState.angle(), false,
BONE_TRIGGER_FOV, BONE_TRIGGER_BONE, false) >= 0
else false
}
This will enable ALT for trigger
Charlatano/src/main/kotlin/com/charlatano/scripts/BoneTrigger.kt :
import org.jire.arrowhead.keyPressed private val onBoneTriggerTarget = hook(1) { if (ENABLE_BONE_TRIGGER && keyPressed(KeyEvent.VK_ALT)) findTarget(me.position(), clientState.angle(), false, BONE_TRIGGER_FOV, BONE_TRIGGER_BONE, false) >= 0 else false }
This will enable ALT for trigger
Charlatano1.0.10\src\main\kotlin\com\charlatano\scripts\BoneTrigger.kt: (34, 40): Unresolved reference: keyEvent
Task :compileKotlin FAILED
FAILURE: Build failed with an exception. M gettting this error while compiling
I forgot
import java.awt.event.KeyEvent
Where I have to paste it?
Charlatano / src / main / kotlin / com / charlatano / scripts / BoneTrigger.kt:
import org.jire.arrowhead.keyPressed privada val onBoneTriggerTarget = gancho ( 1 ) { se ( ENABLE_BONE_TRIGGER && keyPressed ( KeyEvent . VK_ALT )) findTarget (me.position (), clientState.angle (), falsa , BONE_TRIGGER_FOV , BONE_TRIGGER_BONE , falsa ) > = 0 pessoa falsa }
Isso habilitará ALT para gatilho
I couldn't make the error work
Hi could someone help me make the triggerbot toggeable on key like the aimkey for an aimbot but to have a key to activate the triggerbot? Also how could you set the aim home from the head_bone to body_bone would you have to change that in the source before building or would you enter body_bone after building in the .kts folder after building?