Cody you nailed it again bro. This will make our Mod so much better when it comes to Locking builds or when we (if we add) base building into the Mod later this year. I know your confident enough to do such stuff. reason why i asked you for help with all my missions. Thanks buddy for the help all the time putting up with my silly ass ha ha. Anyways keep em coming man we love your vids (tuts) man they help us noobs out quite a lot.
Thats not a bad idea to have like a general overview on how to do something such as make a gui, then make that gui do stuff, read from config files to get the data you want. this code lock would actually be a good example of that, the first part could be useful for alot of people. its able to find the building the object is closest to, then count the amount of doors that building has, then find the doors and their position thats relative to the buildings position, then convert that position with modelToWorld to get the true position of the door itself and store both the name of that door and the position in a nested array so people can do whatever they want with it for something like a breaching script and what not. Ill give something like that a shot in the next few days :)