Hello there,
I need help about meta.xml file, I am learning about scripting but I don't really get it
function createTheGate ()
myGate = createObject ( MyObjectID, myGateX, MyGateY, MyGateZ )
end
addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate )
function openMyGate ( )
moveObject ( myGate, 3000, NEWX, NEWY, NEWZ )
setTimer ( movingMyGateBack, 5000, 1 )
end
addCommandHandler("openmodgate",openMyGate)
function movingMyGateBack ()
moveObject ( myGate, 3000, myGateX, MyGateY, MyGateZ )
end
Can you give me this meta.xml file please ?