Was looking for this, thanks
|
Well since i'm new to coding and there isn't a tutorial on this I thought I might make one to help the noobs
-First off you need the door name. Eg large door, Blacksmith door, Magic guild door.
Open up objecthandler.java
Search for
And under that add thiscase "large door":
-Compilecase "NAME OF DOOR":
Yes this is simple, but a lot of people don't know how to do this.
If this is wrong section or too simple then please close it just trying to contribute.
Was looking for this, thanks
lmao.
Pretty sure you can't just use the switch case to switch strings.
First, you'd declare this:
Public int
MAGIC_GUILD_DOOR = doorid;
Then the case could be:
case MAGIC_GUILD_DOOR:
Thanks man I needed this
Would this work for a Gate? Because my gate opens but it opens very oddly. It opens with the two sides of the door in the middle pointing out. Instead of how a gate should be opened. (double sided gate like varrock gates)
what if the doors already called large door?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |