That function uses setvelocitytransformation. ![]() I started by looking at how the BIS_fnc_UnitPlay function makes vehicles follow a set of points *smooth-ish=ly*. This is a month too late, but I ran into a similar issue yesterday and wanted to post a potential solution. Private _WorldPos = (_building modelToWorld _doorPos) Private _doorPos = _building selectionPosition _x Private _SelectionNames = (selectionNames _building) This code below runs in a loop - constantly checking for doors in buildings, and then executing code once a door is found. I am sure there are better ways, you will have to adjust the scripts below to your needs. Here is an example of how I find doors in one of my scripts. ![]() I am not the best at this - but I am assuming you want the code that will open the door? Or do you just want the door name? Or the doorsource name, in order to make it open/close?
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |