Focker Posted July 19, 2015 Share Posted July 19, 2015 Hi I have a problem in this script, when I place an object the player is haci camera could fix ?? use this local hitMarker2 = createObject ( 1550, 0,0,0 ) attachElements ( hitMarker2, hitElement,0,0.3,0.3) setObjectScale ( hitMarker2, 0.6) here I leave the image http://www.subirimagenes.com/privadas-m ... 17885.html Link to comment
GTX Posted July 19, 2015 Share Posted July 19, 2015 This must work: setCameraClip(false, true) -- Clientside I'm not sure but I think setElementCollisionsEnabled might work too? Link to comment
Focker Posted July 19, 2015 Author Share Posted July 19, 2015 Thanks it worked, but when I enter one inside the object becomes invisible any function that can make the fence object with the player and interior dimensions Link to comment
GTX Posted July 19, 2015 Share Posted July 19, 2015 What? This? setElementDoubleSided Link to comment
Focker Posted July 19, 2015 Author Share Posted July 19, 2015 I mean that when the player has the object can enter or exit an interior inside the object is visible Link to comment
GTX Posted July 19, 2015 Share Posted July 19, 2015 setElementInterior setElementDimension Link to comment
Focker Posted July 19, 2015 Author Share Posted July 19, 2015 Could you show me an example? is that and put those functions but is wrong to use .. if the player grabs the object inside 0 and goes to another inside the object bug Link to comment
GTX Posted July 19, 2015 Share Posted July 19, 2015 When you enter inside interior, you set interior and dimension like this to move the object along with you. setElementInterior(hitMarker2, getElementInterior(localPlayer)) setElementDimension(hitMarker2, getElementDimension(localPlayer)) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now