Nuke928 Posted January 30, 2012 Share Posted January 30, 2012 (edited) I'm not sure what the problem is, it crashes when the actor spawns. It spawns like infinite actors. {$CLEO .cm}:LIBMthread 'LIBM'gosub @MAINif wasted_or_bustedthengosub @FAILendgosub @CLEANUP0A93: end_custom_thread:MAINincrement_mission_attempts$ONMISSION = 1model.Load(#VOODOO)model.Load(#MAFBOSS)model.Load(#AK47)model.Load(#MICRO_UZI)038B: load_requested_models:MODELCHECKwait 0if andmodel.Available(#VOODOO)model.Available(#MAFBOSS)model.Available(#AK47)model.Available(#MICRO_UZI)jf @MODELCHECK:KILLwait [email protected] = Actor.Create(CivMale, #MAFBOSS, -1717.074, 1352.5898, 7.179)07A5: AS_actor [email protected] attack_actor $PLAYER_ACTOR 99999999999 [email protected] = Marker.CreateAboveActor([email protected])repeatwait 0until Actor.Dead([email protected])Marker.Disable([email protected]) jump @WINreturn:WIN01E3: show_text_1number_styled GXT 'M_PASS' number 10000 time 5000 style 1 // MISSION PASSED!~n~~w~$~1~return:FAIL00BA: show_text_styled GXT 'M_FAIL' time 5000 style 1 // ~r~MISSION FAILED!return:CLEANUP$ONMISSION = 0mission_cleanupmodel.Destroy(#VOODOO)model.Destroy(#MAFBOSS)model.Destroy(#AK47)model.Destroy(#MICRO_UZI)return Edited January 30, 2012 by Nuke928 Link to comment Share on other sites More sharing options...
ZAZ Posted January 30, 2012 Share Posted January 30, 2012 (edited) cleo directive is missing {$CLEO .cm} read the first lesson of cleo tut Edited January 30, 2012 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Nuke928 Posted January 30, 2012 Author Share Posted January 30, 2012 cleo directive is missing {$CLEO .cm} and remove read the first lesson of cleo tut and remove 0A92: create_custom_thread "DRIFTMISSIONSTARTER.CS" or do you have a DRIFTMISSIONSTARTER.CS in your cleofolder which should be started? I have already included it. It didn't copy lol Link to comment Share on other sites More sharing options...
Node Posted January 30, 2012 Share Posted January 30, 2012 :KILLwait [email protected] = Actor.Create(CivMale, #MAFBOSS, -1717.074, 1352.5898, 7.179)07A5: AS_actor [email protected] attack_actor $PLAYER_ACTOR 99999999999 [email protected] = Marker.CreateAboveActor([email protected])repeatwait 0until Actor.Dead([email protected]) It repeats the action and only stops spawning if the actor dies. Repeats the label "KILL" until an actor dies, the label "KILL" Spawns the actor. (Sorry for the uninformative post, ima little chilled and too relaxed) Link to comment Share on other sites More sharing options...
Nuke928 Posted January 30, 2012 Author Share Posted January 30, 2012 :KILLwait [email protected] = Actor.Create(CivMale, #MAFBOSS, -1717.074, 1352.5898, 7.179)07A5: AS_actor [email protected] attack_actor $PLAYER_ACTOR 99999999999 [email protected] = Marker.CreateAboveActor([email protected])repeatwait 0until Actor.Dead([email protected]) It repeats the action and only stops spawning if the actor dies. Repeats the label "KILL" until an actor dies, the label "KILL" Spawns the actor. (Sorry for the uninformative post, ima little chilled and too relaxed) Why does it repeat the label "KILL"? Link to comment Share on other sites More sharing options...
Node Posted January 30, 2012 Share Posted January 30, 2012 Have i read it wrong? Daaayyuummm, first mistake in a while i think, im not thinking straight, sorry man. Link to comment Share on other sites More sharing options...
Nuke928 Posted January 30, 2012 Author Share Posted January 30, 2012 Yyyep, I still need a solution. Link to comment Share on other sites More sharing options...
ZAZ Posted January 30, 2012 Share Posted January 30, 2012 Yyyep, I still need a solution. post the missionstarter script CLEO MODS CLEO Script Tutorial 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