Touch Forums
Please Register to Our MMORPG Forums!

Why Register?
More Benefits:
Can Reply to posts
Start Forums
Get Free Subscriptions
and Tons more...
Touch Forums
Please Register to Our MMORPG Forums!

Why Register?
More Benefits:
Can Reply to posts
Start Forums
Get Free Subscriptions
and Tons more...
Touch Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

MMORPG Forums
 
HomeSearchLatest imagesRegisterLog in

 

 How to add GlobalObjects[Noob-Friendly]

Go down 
AuthorMessage
Andy
Administrator
Administrator
Andy


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

How to add GlobalObjects[Noob-Friendly] Empty
PostSubject: How to add GlobalObjects[Noob-Friendly]   How to add GlobalObjects[Noob-Friendly] EmptyWed 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
https://touchforums.forumotion.com
 
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: