GaspArt Posted December 4, 2015 Report Share Posted December 4, 2015 Howdy, ladies and gentlemen! After a long break with Arma 2, I finally decided to bring script to mind. Nothing amazing, just made enjoyable dialogs and opportunity for admins to choose how script will work: If 1 case will be fixed price for healing of whole body. In 2 case price creates relatively amount of disesases. I thought to create another topic for more comfortable discussions. Special thanks to Axeman for correcting mistakes in script. Let's go! To install this script you need: 1. Zupa's Coin System of 2 or 3 version. 2. Custom fnSelfactions.sqf ( you can take from dayz_code.pbo of Epoch, paste in mission file and change path to it in compiles.sqf ) 3. Custom variables.sqf ( you can take from dayz_code.pbo of Epoch, paste in mission file and change path to it in init.sqf ) Install guide: 1. Open fnSelfactions.sqf and paste this code above " //Allow owner to pack vault ". So it must be like that: if(_typeOfCursorTarget in Fast_Med and (player distance _cursorTarget < 3)) then { if (s_fast_med_dialog1 < 0) then { s_fast_med_dialog1 = player addAction ["<t color='#06FF15'>Pay for healing</t>", " WRITE HERE PATH TO SQF!!! ",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_fast_med_dialog1; s_fast_med_dialog1 = -1; }; //Allow owner to pack vault Then find player removeAction s_player_fuelauto2; s_player_fuelauto2 = -1; and place under them that code: player removeAction s_fast_med_dialog1; s_fast_med_dialog1 = -1; 2.Open variables.sqf and add this code after "disableSerialization;": Fast_Med = ["NPC1","NPC1","NPC1"]; For instance 11 Chernarus: Fast_Med = ["Dr_Annie_Baker_EP1","Doctor","Dr_Hladik_EP1"]; Then find: dayz_resetSelfActions = { and paste under this code: s_fast_med_dialog1 = -1; 3. Create .sqf file and paste code from http://pastebin.com/QMukAuXP 4. Change configs in script 5. Enjoy! :) zulu 1 Link to comment Share on other sites More sharing options...
GaspArt Posted December 4, 2015 Author Report Share Posted December 4, 2015 Reserved 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