Touch Forums
Please Register to Our MMORPG Forums!

Why Register?
More Benefits:
Can Reply to posts
Start Forums
Get Free Subscriptions
and Tons more...

MMORPG Forums
 
HomeFAQSearchMemberlistRegisterLog in

Share | 
 

 How to add GlobalObjects[Noob-Friendly]

Go down 
AuthorMessage
Andy
Administrator
Administrator
avatar

Posts : 46
Rep : 0
Join date : 2010-03-28
Age : 27
Location : England

PostSubject: How to add GlobalObjects[Noob-Friendly]   Wed Dec 29, 2010 2:03 am

Difficulty: 2

Open Client.Java and Search
Code:
public void NewObjects(){
Underneath that add this:
Code:
makeGlobalObject(XXXX,YYYY,ID,FACE,10;//OBJECT NAME
"XXXX = X Coords"
"YYYY = Y Coords"
"ID = Object ID"
"FACE = The way it Faces
0 = West
-1 = North
-2 = East
-3 = South"
(You Can Get Coords adding this command to your server)
POSITION COMMAND:
Code:
if(command.startsWith("mypos")){
sM("Your Current Position is X: "+absX +", " +"Current Y: " +absY +"");
}
::mypos to Activate

Once Added you can add more Underneath the one you just added!
Credit: Andy
Please Rate and Comment
Back to top Go down
http://touchforums.realbb.net
 
How to add GlobalObjects[Noob-Friendly]
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Touch Forums :: RS Private Server Development and Releases :: RS Private Server - Tutorials-
Jump to: