Monstercat
Well-known member
- Joined
- Feb 26, 2013
- Messages
- 281
- Reaction score
- 7
Hey i try to make a script that only work while Aiming at a Target...
This is what I have so far...
But I'm stuck somehow.
This is what I have so far...
But I'm stuck somehow.
Code:
:MAIN_ACTIVATION
0AD2: $target = player $PLAYER_CHAR targeted_actor
if
0457: player $PLAYER_CHAR aiming_at_actor $target
else_jump @MAIN_ACTIVATION
if and
0457: player $PLAYER_CHAR aiming_at_actor $target
0AB0: key_pressed 1
0AB0: key_pressed 2
else_jump @MAIN_ACTIVATION
:GO
wait 0
repeat
wait 0
until player.Defined(0)
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 66
while true
wait 0
if
//???
else_jump @CONTINUE
0A8C: write_memory 0@ size 1 value 0 virtual_protect 0
jump @MAIN_ACTIVATION
:CONTINUE
0A8C: write_memory 0@ size 1 value 0xCC virtual_protect 0
end