mirror of
https://github.com/sethduda/AdvancedTowing.git
synced 2024-08-30 17:32:12 +00:00
Merging exile changes, adding remoteExecCall back
This commit is contained in:
parent
f34ed376cc
commit
ae586e1770
@ -10,8 +10,6 @@ The above copyright notice and this permission notice shall be included in all c
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
//{
|
||||
|
||||
#define SA_Find_Surface_ASL_Under_Position(_object,_positionAGL,_returnSurfaceASL,_canFloat) \
|
||||
_objectASL = AGLToASL (_object modelToWorldVisual (getCenterOfMass _object)); \
|
||||
_surfaceIntersectStartASL = [_positionAGL select 0, _positionAGL select 1, (_objectASL select 2) + 1]; \
|
||||
@ -40,11 +38,13 @@ SA_Find_Surface_ASL_Under_Position(_object, (_object modelToWorldVisual _modelOf
|
||||
SA_Find_Surface_ASL_Under_Model(_object,_modelOffset,_returnSurfaceAGL,_canFloat); \
|
||||
_returnSurfaceAGL = ASLtoAGL _returnSurfaceAGL;
|
||||
|
||||
{
|
||||
|
||||
diag_log "Advanced Towing Loading...";
|
||||
|
||||
//if(!isNil "SA_TOW_INIT") exitWith {};
|
||||
if(!isNil "SA_TOW_INIT") exitWith {};
|
||||
|
||||
//SA_TOW_INIT = true;
|
||||
SA_TOW_INIT = true;
|
||||
|
||||
SA_Simulate_Towing = {
|
||||
|
||||
@ -594,5 +594,5 @@ if(!isDedicated) then {
|
||||
|
||||
diag_log "Advanced Towing Loaded";
|
||||
|
||||
//} remoteExecCall ["bis_fnc_call", 0,true];
|
||||
} remoteExecCall ["bis_fnc_call", 0,true];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user