Cristtk Posted October 1, 2019 Share Posted October 1, 2019 Alguem pode me ajudar, quero colocar um objeto de uma porta em um interior. Preciso saber onde coloco o setElementInterior e o setElementDimension. Ja tentei aqui mais o objeto fica invisivel no interior. myGate1 = createObject ( 980, 1540.6999511719,-1625.9000244141 ,15.10000038147,360, 360, 90 ) Zona = createColCircle ( 1540.303, -1626.207, 6, 6 ) function Portao1(thePlayer) if getElementData(thePlayer, "char.factionID") == 190 then moveObject (myGate1, 3000, 1540.7001953125,-1625.900390625,20.39999961853 ) end end addEventHandler ( "onColShapeHit", Zona, Portao1 ) function Portao2(thePlayer) if getElementData(thePlayer, "char.factionID") == 190 then moveObject (myGate1, 3000, 1540.6999511719,-1625.9000244141 ,15.10000038147 ) end end addEventHandler ( "onColShapeLeave", Zona, Portao2 ) Link to comment
Eficiencia Posted October 1, 2019 Share Posted October 1, 2019 setElementInterior(mygate, int) setElementDimension(mygate, dim) Link to comment
Cristtk Posted October 1, 2019 Author Share Posted October 1, 2019 Fiz isso ai ja o objeto aparece mas invisivel. Link to comment
Eficiencia Posted October 1, 2019 Share Posted October 1, 2019 adapta só e verifique se esta colocando interior e dimensão corretos 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