Daniel_Absolu Posted July 17, 2016 Share Posted July 17, 2016 When I drove 1 hydra and I marked red dots on the map, hydra will automatically attack the red dot spot. This is possible? Link to comment Share on other sites More sharing options...
ZAZ Posted July 17, 2016 Share Posted July 17, 2016 When you post your script, this is possible? CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Daniel_Absolu Posted July 18, 2016 Author Share Posted July 18, 2016 When you post your script, this is possible? // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013{$CLEO .cs} //-------------MAIN---------------thread 'SDS' wait 100 jump @EJECT_870 :EJECT_870wait 5 if and0AB0: key_pressed 80 0AB0: key_pressed 16 Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA)jf @EJECT_994 wait 0 0811: [email protected] = actor $PLAYER_ACTOR used_car Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])0AB6: store_target_marker_coords_to [email protected] [email protected] [email protected] // IF and SET 03A2: set_car [email protected] action 3 0745: set_hydra [email protected] thrust_to_horizontal 08A2: set_hydra [email protected] attack_with_rockets_car_of_player [email protected] [email protected] [email protected] radius 30.0 Audiostream.PerformAction([email protected], PLAY)jump @EJECT_994 :EJECT_994wait 5 if and0AB0: key_pressed 16 0AB0: key_pressed 35 Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA) wait 0 Model.Destroy([email protected])Object.RemoveReferences([email protected])Object.RemoveReferences([email protected])072A: put_actor $PLAYER_ACTOR into_car [email protected] driverseat Player.CanMove($PLAYER_CHAR) = TrueAudiostream.PerformAction([email protected], PLAY)wait 0 jump @EJECT_870 Link to comment Share on other sites More sharing options...
ZAZ Posted July 18, 2016 Share Posted July 18, 2016 (edited) // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013{$CLEO .cs} //-------------MAIN---------------thread 'SDS' wait 100 jump @EJECT_870 :EJECT_870wait 5 if and0AB0: key_pressed 80 0AB0: key_pressed 16 Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA)jf @EJECT_994 wait 0 0811: [email protected] = actor $PLAYER_ACTOR used_car Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])0AB6: store_target_marker_coords_to [email protected] [email protected] [email protected] // IF and SET 03A2: set_car [email protected] action 3 0745: set_hydra [email protected] thrust_to_horizontal 08A2: set_hydra [email protected] attack_with_rockets_car_of_player [email protected] [email protected] [email protected] radius 30.0 Audiostream.PerformAction([email protected], PLAY)jump @EJECT_994 :EJECT_994wait 5 if and0AB0: key_pressed 16 0AB0: key_pressed 35 Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA) wait 0 Model.Destroy([email protected])Object.RemoveReferences([email protected])Object.RemoveReferences([email protected])072A: put_actor $PLAYER_ACTOR into_car [email protected] driverseat Player.CanMove($PLAYER_CHAR) = TrueAudiostream.PerformAction([email protected], PLAY)wait 0 jump @EJECT_870 you can only insert $PLAYER_CHAR 08A2: set_hydra [email protected] attack_with_rockets_car_of_player $PLAYER_CHAR radius 20.0 Edited July 18, 2016 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
X-Falcon Posted July 18, 2016 Share Posted July 18, 2016 (edited) You also won't need wait 100 at start, and replace wait...5 to zero, it's no sense and common cause bad performance loop draw. thread 'SDS' :EJECT_870wait 0 Imitate, it's auto continue near label so don't use jump to every continue to near label. //x jump @EJECT_994 :EJECT_994wait 0 Edited July 18, 2016 by X-Falcon 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