CLEO Help [HELP] Character aiming position

CLEO related
Status
Not open for further replies.

Fokiss

Member
Joined
Mar 14, 2013
Messages
17
Reaction score
0
Hi basically i have made a cleo that quick swaps (changing to another weapon and back to avoid reload) weapons when they have 1 bullet left in the clip, problem is when im aiming up or down the camera pans back to centre as the changes happen as shown in this video below

[youtube:35kca3qa]http://www.youtube.com/watch?v=fznTwj6s_Ms[/youtube:35kca3qa]

is there a code that stores the angle or position of the players aim or can anyone give me any ideas on how to avoid this problem? im new to cleo scripting

the swapping of weapons code is similar to this if it helps

Code:
04B8: get_weapon_data_from_actor $PLAYER_ACTOR weapon_group 4 weapon 1@ ammo 2@ model 3@ 
wait 0
01B2: give_actor $PLAYER_ACTOR weapon 1@ ammo 0 // Load the weapon model before using this
wait 750 
04B8: get_weapon_data_from_actor $PLAYER_ACTOR weapon_group 3 weapon 1@ ammo 2@ model 3@ 
wait 0 
01B2: give_actor $PLAYER_ACTOR weapon 1@ ammo 0 // Load the weapon model before using this

Thanks
 
Status
Not open for further replies.
Top