John1993 Posted September 9, 2011 Share Posted September 9, 2011 I downloaded a mod that replaces the purple dildo with a riot shield, it goes with the original dildo.ifp with a anim replaced (DILDO_IDLE) I make this script but when i get the shield and i press x it does nothing , I need urgent help. thread 'shield' :SHIELD_10 wait 0 if 0491: actor $PLAYER_ACTOR has_weapon 10 jf @SHIELD_10 jump @SHIELD_22 :SHIELD_22 wait 0 if 0AB0: key_pressed 0x58 jf @SHIELD_10 jump @SHIELD_32 :SHIELD_32 wait 0 0470: [email protected] = actor $PLAYER_ACTOR current_weapon 01B9: set_actor $PLAYER_ACTOR armed_weapon_to 10 Actor.SetImmunities($PLAYER_ACTOR, 1, 0, 0, 0, 1) 0946: set_actor $PLAYER_ACTOR actions_uninterupted_by_weapon_fire 1 jump @SHIELD_45 :SHIELD_45 wait 0 0605: actor -1 perform_animation_sequence "DILDO_IDLE" IFP_file "DILDO" 4.0 loop 1 0 0 0 time -1 // versionA jump @SHIELD_50 :SHIELD_50 wait 850 if 0AB0: key_pressed 0x5A jf @SHIELD_45 jump @SHIELD_93 :SHIELD_93 wait 0 Actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 0, 0) 0946: set_actor $PLAYER_ACTOR actions_uninterupted_by_weapon_fire 0 01B9: set_actor $PLAYER_ACTOR armed_weapon_to [email protected] jump @SHIELD_10 Link to comment Share on other sites More sharing options...
ZAZ Posted September 9, 2011 Share Posted September 9, 2011 I downloaded a mod that replaces the purple dildo with a riot shield, it goes with the original dildo.ifp with a anim replaced (DILDO_IDLE) I make this script but when i get the shield and i press x it does nothing , I need urgent help. it needs to load first the animation-IFP file and check if it's loaded read CLEO Script Tutorial CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
John1993 Posted September 9, 2011 Author Share Posted September 9, 2011 Thanks, ZaZ, you are the best! Link to comment Share on other sites More sharing options...
bull.04 Posted September 9, 2011 Share Posted September 9, 2011 I think you also need to change -1 to $PLAYER_ACTOR in the perform_animation line because -1 I think is used for AS packs which includes a group of peds. Link to comment Share on other sites More sharing options...
John1993 Posted September 10, 2011 Author Share Posted September 10, 2011 Yes, i was looking the script and i noticed that. But now runs well Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now