Jump to content

Chessmaster

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Everything posted by Chessmaster

  1. Ngl, none of this is working for me :( I have no idea how to position the item properly on the table without it being interactive. Here is an image to see where I am coming from: When testing, with the code, all items turn a different direction. Edit: Cracked it! Thanks guys!
  2. Hello! I'm quite new to this and I was wondering how I could make items & weapons without interaction? I was browsing the forum and I did come across this code: lwh = "Library_WeaponHolder" createVehicle position this; lwh addWeaponCargoGlobal ["arifle_katiba_f", 1]; lwh enableSimulation false; lwh setPos (this modelToWorld [0, 0, 0.5]); lwh setdamage 1; lwh setvectorup [0,-1,0.01]; deleteVehicle this; After tinkering around with it, I have had trouble with the rotation. I would like to place items & weapons as if they're on show. Any ideas? Please make this as noob friendly as possible! Thanks!
  3. Okay, just copied the code to the init and it returned with the error "Local variable in global space" I removed the "// Positioning..."
  4. So [lwh, 45, -45] call BIS_fnc_getPitchBank;?
  5. This helps somewhat but I am after rotation of an item say if it was placed on a table for display purposes. Is there a code for that?
×