thecannons / BaseBuilding-DayZ

Base Building DayZ Project. This adds a building function in DayZ mod regardless of map.
8 stars 16 forks source link

_attachCoords #15

Open Sandbird opened 11 years ago

Sandbird commented 11 years ago

Can someone explain the _attachCoords value in build_list.sqf ? I cant seem to figure that one out. AttachCoordinates to what ? What are those values for ? Thanks

thecannons commented 11 years ago

They are array of attachCoords for object. So [x, y, z] are the attach coordinats or [left/right axis, forward/backward axis, up/down axis]. if it was [0, 0, 0] the object would attach inside of player and kill him. if it was [0, 20, 5] the object would attach 20 meters in front and 5 meters above ground which is a lot. you can reference off other object chords or tweak them yourself for new objects. good luck (typed on phone, sorry for grammar)

thecannons commented 11 years ago

sorry attach may not kill payer but spawning inside of him would, however attaching in his face would make it hard to build

Sandbird commented 11 years ago

Ohhh i see :). Thanks !