ObjectatG3tWr3ck3d User Offline 18.11.14 03:47:25 pm Hey, can someone explain me in a function how is the Objectat command working? Tnx. edited 1×, last 18.11.14 03:53:24 pm
Re: ObjectatRainoth Moderator Offline 18.11.14 03:53:03 pm Lets say tile 10|10 is a path and you want to make sure it's not blocked by a wall but a gatefield can be placed. 1objectID = objectat(10,10) you get id of an object (not TYPE ID!) then you want to see if it's a gatefield or not 1if not object(objectID,"type")==6 then This will check if it's a gate field and if it's not, you could lets say, destroy the object or maybe hurt the player who built it.