Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if !(vehicle player isEqualTo player) exitWith {babe_em_help setpos [0,0,0]};
- _ins = lineIntersectsSurfaces [
- AGLToASL (player modelToWorld [0, 0, 1]),
- AGLToASL (player modelToWorld [0, 0, -0.2]),
- player,
- babe_em_help,
- true,
- 1,
- "GEOM",
- "NONE"
- ];
- //XENO
- _liste_Objet_Exit = ["Land_CampingChair_V2_F","Land_RattanChair_01_F","Land_OfficeChair_01_F","Land_ChairPlastic_F","Land_ChairWood_F","Land_CampingChair_V1_F","Land_CampingChair_V2_white_F"];
- if (_ins select 0 select 3 in _liste_Objet_Exit) exitwith {};
- //XENO
- if (count _ins isEqualTo 0) exitWith {babe_em_help setpos [0,0,0]};
- (_ins select 0) params ["_pos", "_no", "_obj"];
- if (isNull _obj) exitWith {babe_em_help setpos [0,0,0]};
- babe_em_help setMass 0;
- babe_em_help setPosASL _pos;
- babe_em_help setVectorUp _no;
- _obj disableCollisionWith babe_em_help;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement