![]() |
|
08-31-2012
|
91 | |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
dx: new x position from the current one (like 3 would move 3 tiles to the right from the current position) dy: same as dy for the y time: the time the whole moving should take options: different stuff being called for the options just check this link http://forums.graalonline.com/forums...ad.php?t=85584 |
|
|
08-31-2012
|
92 | |
|
I'm watching...
Join Date: Sep 2011
Location: Northern Ireland, UK
Posts: 644
|
PHP Code:
|
|
|
08-31-2012
|
93 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
I was most likely looming for the one that uses temp.i, something Tric thought me but I forgot... for() not move()...
|
|
08-31-2012
|
94 |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
|
|
08-31-2012
|
95 |
|
Banned
Join Date: Apr 2012
Location: Sweden
Posts: 287
|
move() is superior to manually updating the position since it gets synced to both the client and the server.
|
|
09-01-2012
|
96 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
Thanks guys Okay one more, is there anywhere better to store sended pms,comments anything? And make it readable and writable, other than clientr. // also Will clientr.test= 1,2,3,4 be counted as an array? (clientr.test[0]) |
|
09-01-2012
|
97 | |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
|
|
|
09-01-2012
|
98 | |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
I've bin working on an Assignment System, having to read two tokenizations and looking forward for any easier way? PHP Code:
|
|
|
09-03-2012
|
99 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
Question : how to use and give a "public function"?
|
|
09-03-2012
|
100 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
Public functions are functions that other scripts can access via other scripts, level NPCs, classes and w/e. PHP Code:
PHP Code:
|
|
09-04-2012
|
101 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
Thanks about this stupid question : break; would stop the switch();?
|
|
09-04-2012
|
102 |
|
Coder
Join Date: Sep 2011
Posts: 843
|
Yes.(Depending on where you put it). break; stops the whole function and would be used after every case "putcasehere": script. Example on the useage: PHP Code:
Last edited by PerfectDark; 09-04-2012 at 12:50 AM.
Reason: ran the example code through "The GS2 Beautifier"
|
|
09-04-2012
|
103 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
So if I don't include break; the script would keep on running to the second case?
|
|
09-08-2012
|
104 |
|
Why play?
Join Date: Jun 2012
Location: NewYorkCity
Posts: 281
|
`I have no idea what scripts are, but let me say this.... why so complicated :0?
|
|
09-08-2012
|
105 |
|
299,792,458 m/s
Join Date: Mar 2012
Location: Lebanon
Posts: 3,581
|
|