ShadowCoderKing Posted March 18, 2013 Share Posted March 18, 2013 i have a problem with this cleo script when i go in the red sphere i cant start any of my custom cleo missions {$CLEO .cs}//-------------MAIN---------------thread 'armyextras' :load_execusionmodelswait 0 if 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 1444.5573 -75.1651 19.7684 radius 1.0 1.0 1.0 on_foot // donejf @load_execusionmodelsfade 0 500Player.CanMove($PLAYER_CHAR, false) Model.Load(#HECK2)Model.Load(#WMYCH)Model.Load(#M4)04ED: load_animation "SHOP" 038B: load_requested_models :exMODELSCHECKwait 0 if Model.Available(#HECK2)Model.Available(#WMYCH)jf @exMODELSCHECK :badyex1wait 0 if Model.Available(#WMYCH)jf @badyex1 [email protected] = Actor.Create(Mission1, #WMYCH, 1446.3174, -61.3712, 21.3502) // doneActor.Angle([email protected]) = 203.463Actor.WeaponAccuracy([email protected]) = 00446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 03FE: set_actor [email protected] money 00A09: set_actor [email protected] muted 1 // versionB Actor.Health([email protected]) = 100:badyex2wait 0 if Model.Available(#HECK2)jf @badyex2 [email protected] = Actor.Create(Mission1, #HECK2, 1444.6487, -61.5693, 21.3943) // done Actor.Angle([email protected]) = 194.8124Actor.WeaponAccuracy([email protected]) = 1000446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 0A09: set_actor [email protected] muted 1 // versionB 03FE: set_actor [email protected] money 0 Actor.Health([email protected]) = 100:badyex3wait 0 if Model.Available(#WMYCH)jf @badyex3 [email protected] = Actor.Create(Mission1, #WMYCH, 1443.4408, -62.1319, 21.3759) // doneActor.Angle([email protected]) = 194.8124Actor.WeaponAccuracy([email protected]) = 1000446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 0A09: set_actor [email protected] muted 1 // versionB 03FE: set_actor [email protected] money 0 Actor.Health([email protected]) = 100:badyex4wait 0 if Model.Available(#HECK2)jf @badyex4 [email protected] = Actor.Create(Mission1, #HECK2, 1441.7377, -62.6057, 21.3883) // doneActor.Angle([email protected]) = 189.7244Actor.WeaponAccuracy([email protected]) = 1000446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 03FE: set_actor [email protected] money 0 Actor.Health([email protected]) = 100:animation_handsupwait 0 if04EE: animation "SHOP" loadedelse_jump @animation_handsup0605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -10605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -10605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -10605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -1wait 1000fade 1 100000BC: show_text_highpriority GXT 'EXECU' time 7000 flag 1 // done // kill the terrorists msg Player.CanMove($PLAYER_CHAR, true)01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 30000 // Load the weapon model before using this$MARKER1 = Marker.CreateAboveActor([email protected])$MARKER2 = Marker.CreateAboveActor([email protected])$MARKER3 = Marker.CreateAboveActor([email protected])$MARKER4 = Marker.CreateAboveActor([email protected]):exdeadcheck wait 0if andactor.Dead([email protected])actor.Dead([email protected])actor.Dead([email protected])actor.Dead([email protected])jf @exdeadcheck0792: disembark_instantly_actor [email protected]: release_animation "SHOP"0792: disembark_instantly_actor [email protected]: release_animation "SHOP"0792: disembark_instantly_actor [email protected]: release_animation "SHOP"0792: disembark_instantly_actor [email protected]: release_animation "SHOP"Marker.Disable($MARKER1)Marker.Disable($MARKER2)Marker.Disable($MARKER3)Marker.Disable($MARKER4)actor.RemoveReferences([email protected])actor.RemoveReferences([email protected])actor.RemoveReferences([email protected])actor.RemoveReferences([email protected])jump @load_execusionmodels Link to comment Share on other sites More sharing options...
ZAZ Posted March 18, 2013 Share Posted March 18, 2013 i have a problem with this cleo script when i go in the red sphere i cant start any of my custom cleo missions {$CLEO .cs}//-------------MAIN---------------thread 'armyextras' :load_execusionmodelswait 0 if 00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 1444.5573 -75.1651 19.7684 radius 1.0 1.0 1.0 on_foot // donejf @load_execusionmodelsfade 0 500Player.CanMove($PLAYER_CHAR, false) Model.Load(#HECK2)Model.Load(#WMYCH)Model.Load(#M4)04ED: load_animation "SHOP" 038B: load_requested_models :exMODELSCHECKwait 0 if Model.Available(#HECK2)Model.Available(#WMYCH)jf @exMODELSCHECK :badyex1wait 0 if Model.Available(#WMYCH)jf @badyex1 [email protected] = Actor.Create(Mission1, #WMYCH, 1446.3174, -61.3712, 21.3502) // doneActor.Angle([email protected]) = 203.463Actor.WeaponAccuracy([email protected]) = 00446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 03FE: set_actor [email protected] money 00A09: set_actor [email protected] muted 1 // versionB Actor.Health([email protected]) = 100:badyex2wait 0 if Model.Available(#HECK2)jf @badyex2 [email protected] = Actor.Create(Mission1, #HECK2, 1444.6487, -61.5693, 21.3943) // done Actor.Angle([email protected]) = 194.8124Actor.WeaponAccuracy([email protected]) = 1000446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 0A09: set_actor [email protected] muted 1 // versionB 03FE: set_actor [email protected] money 0 Actor.Health([email protected]) = 100:badyex3wait 0 if Model.Available(#WMYCH)jf @badyex3 [email protected] = Actor.Create(Mission1, #WMYCH, 1443.4408, -62.1319, 21.3759) // doneActor.Angle([email protected]) = 194.8124Actor.WeaponAccuracy([email protected]) = 1000446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 0A09: set_actor [email protected] muted 1 // versionB 03FE: set_actor [email protected] money 0 Actor.Health([email protected]) = 100:badyex4wait 0 if Model.Available(#HECK2)jf @badyex4 [email protected] = Actor.Create(Mission1, #HECK2, 1441.7377, -62.6057, 21.3883) // doneActor.Angle([email protected]) = 189.7244Actor.WeaponAccuracy([email protected]) = 1000446: set_actor [email protected] immune_to_headshots 1 07DD: set_actor [email protected] temper_to 0 // see pedstats.dat 03FE: set_actor [email protected] money 0 Actor.Health([email protected]) = 100:animation_handsupwait 0 if04EE: animation "SHOP" loadedelse_jump @animation_handsup0605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -10605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -10605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -10605: actor [email protected] perform_animation_sequence "SHP_ROB_HANDSUP" IFP_file "SHOP" 4.0 loop 1 0 0 0 time -1wait 1000fade 1 100000BC: show_text_highpriority GXT 'EXECU' time 7000 flag 1 // done // kill the terrorists msg Player.CanMove($PLAYER_CHAR, true)01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 30000 // Load the weapon model before using this$MARKER1 = Marker.CreateAboveActor([email protected])$MARKER2 = Marker.CreateAboveActor([email protected])$MARKER3 = Marker.CreateAboveActor([email protected])$MARKER4 = Marker.CreateAboveActor([email protected]):exdeadcheck wait 0if andactor.Dead([email protected])actor.Dead([email protected])actor.Dead([email protected])actor.Dead([email protected])jf @exdeadcheck0792: disembark_instantly_actor [email protected]: release_animation "SHOP"0792: disembark_instantly_actor [email protected]: release_animation "SHOP"0792: disembark_instantly_actor [email protected]: release_animation "SHOP"0792: disembark_instantly_actor [email protected]: release_animation "SHOP"Marker.Disable($MARKER1)Marker.Disable($MARKER2)Marker.Disable($MARKER3)Marker.Disable($MARKER4)actor.RemoveReferences([email protected])actor.RemoveReferences([email protected])actor.RemoveReferences([email protected])actor.RemoveReferences([email protected])jump @load_execusionmodels This script works for me but it isn't a missionscript. Maybe you should remove all your other cleoscripts and try again CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
ShadowCoderKing Posted March 21, 2013 Author Share Posted March 21, 2013 i couldn't start the missions because i had $on_mission named something else in my mission scripts but it works now thanks to silentPL finding this out for me and also thanks zaz 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