Page 1 of 1

Honor Points

Posted: Sun Nov 18, 2012 7:48 pm
by ZZZZZ
Does anyone know how to check for current honor points? Just trying to get a waypoint to buy mats for crafting and need the Honor points value. Thanks in advance

Re: Honor Points

Posted: Sun Nov 18, 2012 7:58 pm
by lisa
*does forum search on theromwiki.com*

http://www.theromwiki.com/API:GetPlayerHonorPoint

Re: Honor Points

Posted: Sun Nov 18, 2012 8:22 pm
by ZZZZZ
lisa wrote:*does forum search on theromwiki.com*

http://www.theromwiki.com/API:GetPlayerHonorPoint
Oh, didnt think of searching theromwiki >.<

I'm still pretty bad at coding with mm lol, why does

Code: Select all

	Honor = GetPlayerHonorPoint()
until 100000 > Honor
return "attempt to call global 'GetPlayerHonorPoint' (a nil value)

Thanks

Re: Honor Points

Posted: Sun Nov 18, 2012 8:27 pm
by lisa
because it is an ingame function and not a Rombot function you need to use it with RoMScrict

Code: Select all

local Honor = RoMScript('GetPlayerHonorPoint();')
make sure to add in a small into the loop aswell.

Code: Select all

yrest(100)

Re: Honor Points

Posted: Sun Nov 18, 2012 8:30 pm
by ZZZZZ
Ah ok, thanks for that :)