Nerve Posted April 23, 2015 Share Posted April 23, 2015 Would anyone be able to guide me through making the "View Distance Settings" script available in players scroll menu at all times? Currently, in version 282D you have to visit the officer to get the option. I added "this addAction ["View Distance Settings",TAWVD_fnc_openTAWVD,[],-98,false,false,"",''];" to each players init however i am sure there is a more efficient way to do this. thanks so, nerve Link to comment Share on other sites More sharing options...
PERO Posted April 23, 2015 Share Posted April 23, 2015 This is the script used: TAW Viewdistance Script I`m not really sure how its done on I&A (action only on the VAS guy), but if the devs don`t answer until tomorrow, I`ll look into it. Link to comment Share on other sites More sharing options...
Nerve Posted April 23, 2015 Author Share Posted April 23, 2015 This is the script used: TAW Viewdistance Script I`m not really sure how its done on I&A (action only on the VAS guy), but if the devs don`t answer until tomorrow, I`ll look into it. Thanks Pero- I'll check this out. If you have any time to look at it thatd be awesome. As mentioned if i add "this addAction ["View Distance Settings",TAWVD_fnc_openTAWVD,[],-98,false,false,"",''];" to the players init within the editor it works great. but i figure there is a way to apply it to the intiplayerlocal file so i dont have to go and modify 60 players init section. thanks Link to comment Share on other sites More sharing options...
PERO Posted April 23, 2015 Share Posted April 23, 2015 By default, the script should be distributed to all clients, at all the time. I have no idea if Devs modified it in any way. EDIT: it seems that the actual script was slightly modified. They removed the code that adds the action locally (on each client). What you should try: backup your current version of I&A - IMPORTANT (just in case if anything goes wrong) I would remove the script from the mission (delete the script folder found @ /scripts/taw_vd) download the latest version from Armaholic copy the taw_vd folder back into I&A mission, into /scripts/*paste here* (alongs side BTC stuff, eos, etc) try it out in editor or pack the mission into the pbo and run in locally or on dedi server From the top of my head, that could/should work, unless something else was done mission-wise that is removing the action from the client. Note: tawvd_disablenone = true; is found in initPlayerLocal.sqf and not in init.sqf (as originally in the script). 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