Page MenuHomeFeedback Tracker

buildingpos's in Land_Cargo_Tower_V1_F bad
Assigned, WishlistPublic

Description

buildingpos's 10,12,15,16,17 in this building are a number of meters above a walkable surface and spawning at them causes a fall to death.

Also buildpos 5 is supposed to be in the lowest internal room level (approx 12.8m atl) but is actually so high the unit spawns with his head in the roof and glitches onto the roof level

Details

Legacy ID
4247599107
Severity
None
Resolution
Open
Reproducibility
Always
Category
Other
Steps To Reproduce

Spawn a cargotower

tower = createvehicle ["Land_Cargo_Tower_V1_F", getpos player, [],0,"NONE];

player setpos (tower buildingpos x);

will result in a fall to death where x is 10,12,15,16,17. where x is 5, unit will glitch through a ceiling and end up on roof.

Event Timeline

Tankbuster set Category to Other.
Tankbuster set Reproducibility to Always.
Tankbuster set Severity to None.
Tankbuster set Resolution to Open.
Tankbuster set Legacy ID to 4247599107.May 8 2016, 11:58 AM
Tankbuster edited a custom field.
Tankbuster added a subscriber: Tankbuster.

Great. Can't reproduce this now. :( All of the building pos's spawn in the expected place.

pops added a subscriber: pops.May 8 2016, 11:58 AM
pops added a comment.Apr 19 2015, 10:07 PM

Maybe it's a one time thing after launching the game? Or the mission.

Perhaps. Biki says;

The location returned by buildingPos is not reliable after the player has exited and then resumed the mission.

Adam added a comment.Apr 20 2015, 1:00 PM

Hello,

The code for spawning the tower is not working for me. Could you please double check if the code you have posted is correct? Thank you.

Missing speech marks after NONE in the createvehicle command.

tower = createvehicle ["Land_Cargo_Tower_V1_F", getpos player, [],0,"NONE"];

Try

player setposATL (tower buildingpos x);

seems to be working better

ALso https://community.bistudio.com/wiki/buildingPos says ATL too

It does, KK you're right.

However, and it's not really related to this ticket, some of my towers are in the water. :)