Moritz Schmidt
Moritz Schmidt
changes from #67 supersede #54
Waiting for https://community.bistudio.com/wiki/getRoadInfo - with the "width" and "begPos" as well as "endPos" values this will be so much easier to implement. Also, btw, BIS_fnc_isInFrontOf (instead of getting boundingBox, connectedRoads...
some civilian vehicles from 3CB factions: ``` "UK3CB_TKC_C_Datsun_Civ_Closed", "UK3CB_TKC_C_Datsun_Civ_Open", "UK3CB_TKC_C_Gaz24", "UK3CB_TKC_C_Golf", "UK3CB_TKC_C_Hilux_Civ_Open", "UK3CB_TKC_C_Kamaz_Covered", "UK3CB_TKC_C_Lada", "UK3CB_TKC_C_LR_Closed", "UK3CB_TKC_C_S1203", "UK3CB_TKC_C_Sedan", "UK3CB_TKC_C_Skoda", "UK3CB_TKC_C_Tractor", "UK3CB_TKC_C_Tractor_Old", "UK3CB_TKC_C_UAZ_Closed", "UK3CB_TKC_C_UAZ_Open", "UK3CB_TKC_C_Ural_Fuel", "UK3CB_TKC_C_Ural_Open", "UK3CB_TKC_C_Ural_Recovery", "UK3CB_TKC_C_V3S_Repair", "UK3CB_TKC_C_YAVA" ```
lookAt should work fine, unless their movement/animations have been shut off (which is the case when surrendering).
might be implemented using customActivity: start: * save remaining waypoints * remove waypoints stop: * restore waypoints ... still, unit would first rally again, re-creating any waypoints. soooo... we'd need...
need to differentiate between oncoming traffic and traffic flow in the same direction
Not that straightforward. Sending away is an ACE feature https://github.com/acemod/ACE3/blob/76676eee462cb0bbe400a482561c148d8652b550/addons/interaction/XEH_postInit.sqf#L14-L19 I'm listening to that, and do a customActivity for some time & then return to normal behavior. To fix that,...
(this is however implemented for the "backup vehicle" action!)
relevant command: https://community.bistudio.com/wiki/onTeamSwitch
wip: https://github.com/gruppe-adler/grad-civs/tree/pointed-at-while-sprinting