see documentation for plant locations and commands, only require for this meta is to have Aphus recall or to start in TN annex side when you issue the !command.
Functions used -- see http://www.immortalbob.com/phpBB3/viewt ... f=24&t=120 for better explanation on how to add this to a hunting metas for locations such as neftet
Verifying ObjectClass=18(BasicCooking) is the proper plant type
Code: Select all
Expr wobjectgetname[wobjectfindnearestbyobjectclass[18]]==PlantName
Code: Select all
Expr coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[18]]]<=110
Code: Select all
ChatExpr \/vt\ addnavpt\ +coordinatetostring[wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[18]]]
Code: Select all
ExprAct actiontryuseitem[wobjectfindnearestbyobjectclass[18]]
Code: Select all
Expr coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[18]]]<=18
Expr Act setvar[plantClose, 1]
Code: Select all
All:{getvar[plantClose]==1, Expr coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[18]]]>20}