In changeregions.java add:
underCode:c.getPA().removeObjects();
Add the coordinates of objects you'd like to remove in Playerassissant underCode:c.getPA().castleWarsObjects();
Code:public void removeObjects()
|
Hello, I'm pretty new to Project Insanity; however, I know the basics such as deleting an object. But, I'm having a problem; I entered in the removeobject and the coords and there were no errors in the compiler. So i'm thinking, "Ok this is going great!".. Then I log onto my server to find that the objects were'nt deleted What's wrong?
In changeregions.java add:
underCode:c.getPA().removeObjects();
Add the coordinates of objects you'd like to remove in Playerassissant underCode:c.getPA().castleWarsObjects();
Code:public void removeObjects()
I've tryed that, it allready had all of it set up to where all you have to do is enter then code objectToremove(x,y); but it;s not working any other way to delete objects?
Use the new layout else this thread gets closed.
ObjectManager.java
under
public void loadCustomSpawns(Client c) {
easy to figure it out i guess.
In the loadCustomSpawns void, add your object co ords, with the id of "-1" and make sure that the face etc is also 0. Should remove the object.
I dont understand can you show an ex. ?
Never mind, I figured it out due to all of your help sorry about not using layout can someone go ahead and delete this thread. Thanks
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |