Jump to content

[Tutorial] Prison Break Script [Tested on 5.0]


erBradipo
 Share

Recommended Posts

Hi everyone i have create this script for exit from prison, you need to search an container for have an bomb, place on the wall and you can exit, the police can repair the wall.

STEP 1

Place an object  in the prison and add this in the INIT.

this addAction["Search Explosive", {hint("I Have Found an Improvised Bomb");player setVariable["HaveCharge",true,true]; for "_anim" from 0 to 1 do { 
   player playMove "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon"; 
   waitUntil{animationState player != "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";}; 
  }; player addAction["Place Charge","fn_FTD_PlaceCharge.sqf"];}];

 

STEP 2

Place this file  fn_FTD_PlaceCharge.sqf  in your Mission Folder (if you are in Altis: "Altis_Life.Altis").

 

STEP 3

Edit the line 6 with the class name of your prison wall .

_wall = "Land_Wall_IndCnc_4_F"; //change this string with CFG name of your prison wall ("You can see the CFG name of the wall in the editor 3D, right click on wall and FIND ON RECOURCE BROWSER")

 

ENJOY

 

Thats it! If you want an custom version of this Script, Contact me on Discord:  erBradipo#5471

 

Thanks.

Edited by erBradipo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.