![]() |
getplayer
I have had several instances that i would like to know how to use getplayer. I need this for a new wep i made that basically your guy teleports to the nearest player and then circles him while slashing him with the sword.
|
Read this before posting! http://forums.graal2001.com/forums/announcement.php?f=8
|
1 Attachment(s)
Read the documents in the attatchment. they are getting old and somewhat outdated, but they contain a wealth of knowledge I am sure you will find usefull. *note I put my updated commands.rtf in there too, since there was an old one... or something, this is a semi-long note*
Edit: Kjetil, the search function is still broke, so that doesn't do him any good, sad but true |
Hm. Search Worked for me, but it only found this thread and the one Loriel closed, so I guess it's broken.
|
yeah, it only finds threads created after the update, which isn't all that usefull :\
|
It's not basically only getplayer, it envolves other things that you probably don't know how to work too; And to be honest it is not that easy for people that don't know much about scripting.
|
I know more about scripting than most people, its just the newer commands that go with servers and stuff that tend to confuse me, but i have been an NAT on a couple servers b4 the one im on now. Also i still just want to know how to use the getplayer command, its not very specific in the document...
|
Quote:
Quote:
Quote:
Quote:
NPC Code:with(getplayer(accountname)) { |
Quote:
|
npcserver.rtf is specific enough.
|
I find it funny how five of those scripters above went insane when someone said it was "new" lmao.
|
Quote:
|
Hey, I just skimmed over the post, not my fault I said five =P.
|
Quote:
NPC Code: Will change osrs's head! >_< On your system, i would tell you to use getnearestplayers(); wich will return into an array of player's indexs. So get the first index (it's the nearest player) and get its account name,then use getplayer() to act on the specified player and do whatever you want. |
Quote:
|
All times are GMT +2. The time now is 01:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.