Page 1 of 1

GoToPortal Petition

Posted: Sun Jan 06, 2013 11:39 pm
by Parra33
What I have to do to go trying to enter the portal if kallin is full?

<!-- # 159 --><waypoint x="1807" z="3362"> </waypoint>
<!-- # 160 --><waypoint x="1797" z="3544">yrest(6000);</waypoint>
<!-- # 1 --><waypoint x="1804" z="3768"> </waypoint>

Re: GoToPortal Petition

Posted: Sun Jan 06, 2013 11:46 pm
by lisa

Re: GoToPortal Petition

Posted: Mon Jan 07, 2013 12:39 am
by Parra33
If i put userfunction_gotoportal.lua in userfunctions folder and my wayponints like

<!-- # 159 --><waypoint x="1807" z="3362"> </waypoint>
<!-- # 160 --><waypoint x="1797" z="3544">if not GoThroughPortal() then
__WPL:setWaypointIndex(__WPL.LastWaypoint - 1)
endyrest(6000);</waypoint>
<!-- # 1 --><waypoint x="1804" z="3768"> </waypoint>

all it's correct?

Re: GoToPortal Petition

Posted: Mon Jan 07, 2013 12:52 am
by lisa
almost

Code: Select all

endyrest
that will error saying failing to compile code

you need a space after the end