How do I remove objects?
I want to remove the stairs in the Falador bar place.
Printable View
How do I remove objects?
I want to remove the stairs in the Falador bar place.
Follow this package:
Find this method:Code:src.server.world.ObjectManager
Add the following:Code:public void loadCustomSpawns(Client c) {
Configure those constants.Code:c.getPA().checkObjectSpawn(-1, X_COORDINATE, Y_COORDINATE, HEIGHT_LEVEL, OBJECT_TYPE);
Whats OBJECT_TYPE? (I got it to work, I'm just wondering)
It's like the type of object it is, ground, wall, etc.
Try 10, or 0.
lol im a newb...
any who try this:
you will need to convert the c.getObjectHandler().addObject();/c.getObjectHandler().placeObject();Code:
server.model.objects.Objects nothing = new Objects(-1, (object x coords goes here), (object y coords goes here), 0, 0, 10, 0);
c.getObjectHandler().addObject(nothing);
c.getObjectHandler().placeObject(nothing);
to how your server uses the packaging.
or meybe try this:
if that don't work, I'm sorry i tried lol.Code:c.getPA().object(-1, (object x coords goes here), (object y coords goes here), 0, 0, 10, 0);
how do i configure it to remove walls??
Is it even possible to remove walls? :O