Thread: [Pi] To delete an object

Results 1 to 8 of 8
  1. #1 [Pi] To delete an object 
    Registered Member Zebra's Avatar
    Join Date
    Feb 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    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?
     

  2. #2  
    Banned
    Join Date
    Feb 2011
    Posts
    195
    Thanks given
    9
    Thanks received
    5
    Rep Power
    0
    In changeregions.java add:
    Code:
    c.getPA().removeObjects();
    under
    Code:
    c.getPA().castleWarsObjects();
    Add the coordinates of objects you'd like to remove in Playerassissant under
    Code:
    public void removeObjects()
     

  3. #3 That doesnt work.. 
    Registered Member Zebra's Avatar
    Join Date
    Feb 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    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?
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Age
    29
    Posts
    891
    Thanks given
    22
    Thanks received
    47
    Rep Power
    0
    Use the new layout else this thread gets closed.

    ObjectManager.java

    under
    public void loadCustomSpawns(Client c) {
    easy to figure it out i guess.
    hi
     

  5. #5  
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,421
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    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.
     

  6. #6 Reply 
    Registered Member Zebra's Avatar
    Join Date
    Feb 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I dont understand can you show an ex. ?
     

  7. #7  
    Registered Member Zebra's Avatar
    Join Date
    Feb 2011
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    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
     

  8. #8  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
     


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. [PI] Delete Object
    By Inclement in forum Help
    Replies: 10
    Last Post: 01-05-2012, 04:45 PM
  2. [PI] Delete object
    By TheRedArmy in forum Help
    Replies: 2
    Last Post: 02-14-2011, 02:07 AM
  3. Object Delete
    By Dave in forum Help
    Replies: 9
    Last Post: 06-06-2010, 12:09 PM
  4. [508] Delete object
    By Nathan in forum Configuration
    Replies: 28
    Last Post: 06-30-2009, 12:00 AM
  5. Delete object
    By Ivo in forum Snippets
    Replies: 16
    Last Post: 02-07-2009, 02:22 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •