Thread: removing doors

Results 1 to 1 of 1
  1. #1 removing doors 
    Founder off ExilePsGroup
    ExilePsCoding's Avatar
    Join Date
    Apr 2013
    Age
    26
    Posts
    122
    Thanks given
    3
    Thanks received
    8
    Rep Power
    8
    Hi guys,

    I cant figure it out right now, i want to delete the doors in the image below.



    [Only registered and activated users can see links. ]

    If i change the:

    Code:
    if(World.restrictedTiles != null){
    	for(WorldTile restrictedTile : World.restrictedTiles){
    		if(restrictedTile != null){
    			int restX = restrictedTile.getX(), restY = restrictedTile.getY();
    			int restPlane = restrictedTile.getPlane();
    					
    			if(object.getX() == restX && object.getY() == restY && object.getPlane() == restPlane){
    				World.spawnObject(new WorldObject(-1, 10, 2, object.getX(), object.getY(), object.getPlane()), false);
    				return;
    			}
    		}
    	}
    }
    to:
    Code:
    if(World.restrictedTiles != null){
    	for(WorldTile restrictedTile : World.restrictedTiles){
    		if(restrictedTile != null){
    			int restX = restrictedTile.getX(), restY = restrictedTile.getY();
    			int restPlane = restrictedTile.getPlane();
    					
    			if(object.getX() == restX && object.getY() == restY && object.getPlane() == restPlane){
    				World.spawnObject(new WorldObject(-1, 0, 2, object.getX(), object.getY(), object.getPlane()), false);
    				return;
    			}
    		}
    	}
    }
    but this will make my other object deletes on my server to be active again, how to i make it work so type 10 and type 0 objects will be deleted?

    ty!
    Last edited by ExilePsCoding; 01-02-2020 at 11:33 PM.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. removing doors in emulous
    By hyt45 in forum Help
    Replies: 0
    Last Post: 07-24-2010, 06:46 PM
  2. How to remove doors on PI
    By Affliction in forum Help
    Replies: 3
    Last Post: 07-08-2010, 01:54 AM
  3. [PI]NpcAnims,removing Doors and more [REQ]
    By invalid-name in forum Requests
    Replies: 4
    Last Post: 07-04-2010, 09:35 AM
  4. Remove Door On BSI Will Rep
    By PrataKosong in forum Help
    Replies: 0
    Last Post: 12-10-2009, 07:17 PM
  5. How to remove doors?
    By G R A P E D in forum Help
    Replies: 22
    Last Post: 07-13-2009, 09:20 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •