in what ever does teh createObject add somthing like
private static final int[] BAD_OBJECTS = {6,1,30};
in the void add somthing like
Code:for(int obj : BAD_OBJECTS) { if(obj == objectId) return; }
Offtopic:
1.5k Posts fire capes woots.
|
how can i prevent all objects of a specified ID not spawn at all?
can anyone make a method for me?
base: riotscape
in what ever does teh createObject add somthing like
private static final int[] BAD_OBJECTS = {6,1,30};
in the void add somthing like
Code:for(int obj : BAD_OBJECTS) { if(obj == objectId) return; }
Offtopic:
1.5k Posts fire capes woots.
Or I believe a really bad way would be to loop through every coordinate and check if there is an object on it and if the object is of a certain ID (easy to check) replace it/delete it with deletethatobject() or whatever, I would do this for you but I am not going to as it would be complete bullshit, I think you should try a client-side approach.
No you could (very badly) use a for loop going up to 5000 (i think?) for each x and y and use one of the cases such as first click object to be called which returns the id of the object etc... I could make an object dump easy enough though
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |