IvanBraginsky Posted June 28, 2013 Share Posted June 28, 2013 (edited) I used Add Guards to Area 69 mod, & it makes the Black Project mission crash because a script destroys the Area 69 blastdoors & vent cover, so what should I do to re-add these objects with CLEO? :AREA_69_ENTER_19wait 0 if and Object.Exists($OBJECT_M_A51_BLASTDOORR) Object.Exists($OBJECT_M_A51_BLASTDOORL) Object.Exists($OBJECT_M_A51_VENTCOVERB) Object.Exists($2670)else_jump @AREA_69_ENTER_19 Object.Destroy($OBJECT_M_A51_BLASTDOORR)Object.Destroy($OBJECT_M_A51_BLASTDOORL)Object.Destroy($OBJECT_M_A51_VENTCOVERB)Object.Destroy($2670)jump @AREA_69_ENTER_19 Edited June 28, 2013 by IvanBraginsky Link to comment Share on other sites More sharing options...
ZAZ Posted June 29, 2013 Share Posted June 29, 2013 replace the script with this one: {$CLEO .cs}03A4: name_thread 'AREAOBJ' 0001: wait 1000 ms 0006: [email protected] = 0 0006: [email protected] = 0 0006: [email protected] = 0 0006: [email protected] = 0 0006: [email protected] = 0 :AREAOBJ_510001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @AREAOBJ_51 00D6: if 0039: [email protected] == 0 004D: jump_if_false @AREAOBJ_215 00D6: if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 246.1333 1863.007 20.135 radius 5.0 5.0 5.0 004D: jump_if_false @AREAOBJ_215 0001: wait 50 ms 00D6: if 03CA: object $OBJECT_M_A51_VENTCOVERB exists 004D: jump_if_false @AREAOBJ_51 0001: wait 1000 ms 00D6: if 09CC: object $OBJECT_M_A51_VENTCOVERB model_is 3117 004D: jump_if_false @AREAOBJ_51 01BC: put_object $OBJECT_M_A51_VENTCOVERB at 245.968 1862.843 17.01 0006: [email protected] = 1 0002: jump @AREAOBJ_51 :AREAOBJ_21500D6: if 0039: [email protected] == 0 004D: jump_if_false @AREAOBJ_359 00D6: if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 212.8843 1885.02 13.147 radius 20.0 20.0 5.0 004D: jump_if_false @AREAOBJ_359 0001: wait 50 ms 00D6: if 03CA: object $OBJECT_M_A51_BLASTDOORR exists 004D: jump_if_false @AREAOBJ_51 0001: wait 1000 ms 00D6: if 09CC: object $OBJECT_M_A51_BLASTDOORR model_is 2927 004D: jump_if_false @AREAOBJ_51 01BC: put_object $OBJECT_M_A51_BLASTDOORR at 205.941 1874.571 13.903 0006: [email protected] = 1 0002: jump @AREAOBJ_51 :AREAOBJ_35900D6: if 0039: [email protected] == 0 004D: jump_if_false @AREAOBJ_503 00D6: if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 212.8843 1885.02 13.147 radius 20.0 20.0 5.0 004D: jump_if_false @AREAOBJ_503 0001: wait 50 ms 00D6: if 03CA: object $OBJECT_M_A51_BLASTDOORL exists 004D: jump_if_false @AREAOBJ_51 0001: wait 1000 ms 00D6: if 09CC: object $OBJECT_M_A51_BLASTDOORL model_is 2929 004D: jump_if_false @AREAOBJ_51 01BC: put_object $OBJECT_M_A51_BLASTDOORL at 205.941 1874.571 13.903 0006: [email protected] = 1 0002: jump @AREAOBJ_51 :AREAOBJ_50300D6: if 0039: [email protected] == 0 004D: jump_if_false @AREAOBJ_51 00D6: if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 269.3675 1883.921 17.4804 radius 20.0 20.0 5.0 004D: jump_if_false @AREAOBJ_51 0001: wait 50 ms 00D6: if 03CA: object $2670 exists 004D: jump_if_false @AREAOBJ_51 0001: wait 1000 ms 00D6: if 09CC: object $2670 model_is 3095 004D: jump_if_false @AREAOBJ_51 01BC: put_object $2670 at 258.664 1884.06 15.925 0006: [email protected] = 1 0002: jump @AREAOBJ_51 00D6: if 0039: [email protected] == 0 004D: jump_if_false @AREAOBJ_727 00D6: if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 251.271 1920.436 20.6332 radius 270.0 270.0 75.0 004D: jump_if_false @AREAOBJ_727 0006: [email protected] = 1 0002: jump @AREAOBJ_51 :AREAOBJ_72700D6: if 0039: [email protected] == 1 004D: jump_if_false @AREAOBJ_51 00D6: if 80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere 251.271 1920.436 20.6332 radius 280.0 280.0 85.0 004D: jump_if_false @AREAOBJ_51 0006: [email protected] = 0 0002: jump @AREAOBJ_51 00D6: if 0039: [email protected] == 1 004D: jump_if_false @AREAOBJ_51 0006: [email protected] = 0 0002: jump @AREAOBJ_51 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
IvanBraginsky Posted June 29, 2013 Author Share Posted June 29, 2013 Big thanks, here's some 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