TaktiCool / ArmaAtWar

Public repository for the "Arma At War" mission and modification.
Other
18 stars 11 forks source link

Rally point spawn always on the ground #443

Closed netfusion closed 6 years ago

netfusion commented 7 years ago

When you place a RP as squad leader on a tower or upper floor of a building, the RP will always spawn on the ground.

Krzmbrzl commented 7 years ago

In my opinion the problem lays right here: https://github.com/TaktiCool/ArmaAtWar/blob/master/serverAddons/AAW/addons/AAW_Server/Rally/fn_place.sqf#L32

The z-component of all objects that are part of the rally point is only the terrain height at that point instead of the terrain height plus the player's height...

jokoho48 commented 7 years ago

https://github.com/TaktiCool/ArmaAtWar/blob/SimpleObjectRally/serverAddons/PRA3/addons/PRA3_Server/Rally/fn_place.sqf i think SimpleObjectRally could fix this issue. but i think netfusion maybe want to dont allow it to place it in buildings. so maybe also a gamedesign thing to talk about

jokoho48 commented 6 years ago

fixed by @simon84