This commit is contained in:
parent
8274f753ad
commit
1a28b98c9e
2 changed files with 11 additions and 11 deletions
|
|
@ -140,8 +140,8 @@ STATE: {Hunt}
|
|||
SetState {Hunt}
|
||||
IF: All
|
||||
Expr {getvar[isLeader]}
|
||||
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]}
|
||||
Expr {wobjectgetname[wobjectfindnearestbyobjectclass[8]]==Amber Crystal}
|
||||
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbytemplatetype[53011]]]<=getvar[pickupRange]}
|
||||
Expr {wobjectgetname[wobjectfindnearestbytemplatetype[53011]]==Amber Crystal}
|
||||
Expr {getvar[pickFlowers]==1}
|
||||
DO: SetState {picking_flowers}
|
||||
IF: All
|
||||
|
|
@ -269,13 +269,13 @@ STATE: {recomp}
|
|||
DO: SetWatchdog 3 300 {Default}
|
||||
|
||||
STATE: {picking_flowers} ~~ {
|
||||
IF: Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]+3}
|
||||
IF: Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbytemplatetype[53011]]]<=getvar[pickupRange]+3}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[ObjectClose, 1]}
|
||||
EmbedNav nav2__pickup_nav {pickup.nav}
|
||||
IF: All
|
||||
Expr {getvar[ObjectClose]==1}
|
||||
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]>getvar[pickupRange]+4}
|
||||
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbytemplatetype[53011]]]>getvar[pickupRange]+4}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[ObjectClose, 0]}
|
||||
SetState {Hunt}
|
||||
|
|
@ -314,6 +314,6 @@ STATE: {stuck}
|
|||
SetState {Default}
|
||||
|
||||
NAV: nav2__pickup_nav circular ~~ {
|
||||
cht 6.85679616481066 -19.8018191655477 2.08332513769468E-05 {/vt mexec actiontryuseitem[wobjectfindnearestbyobjectclass[8]]}
|
||||
cht 6.85679616481066 -19.8018191655477 2.08332513769468E-05 {/vt mexec actiontryuseitem[wobjectfindnearestbytemplatetype[53011]]}
|
||||
pau 6.85679616481066 -19.8018191655477 2.08332513769468E-05 10000
|
||||
~~ }
|
||||
|
|
@ -1133,7 +1133,7 @@ n
|
|||
s
|
||||
e
|
||||
s
|
||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]
|
||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbytemplatetype[53011]]]<=getvar[pickupRange]
|
||||
i
|
||||
26
|
||||
TABLE
|
||||
|
|
@ -1146,7 +1146,7 @@ n
|
|||
s
|
||||
e
|
||||
s
|
||||
wobjectgetname[wobjectfindnearestbyobjectclass[8]]==Amber Crystal
|
||||
wobjectgetname[wobjectfindnearestbytemplatetype[53011]]==Amber Crystal
|
||||
i
|
||||
26
|
||||
TABLE
|
||||
|
|
@ -1976,7 +1976,7 @@ n
|
|||
s
|
||||
e
|
||||
s
|
||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]+3
|
||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbytemplatetype[53011]]]<=getvar[pickupRange]+3
|
||||
TABLE
|
||||
2
|
||||
K
|
||||
|
|
@ -2000,7 +2000,7 @@ setvar[ObjectClose, 1]
|
|||
i
|
||||
4
|
||||
ba
|
||||
238
|
||||
243
|
||||
pickup.nav
|
||||
2
|
||||
uTank2 NAV 1.2
|
||||
|
|
@ -2011,7 +2011,7 @@ uTank2 NAV 1.2
|
|||
-19.8018191655477
|
||||
2.08332513769468E-05
|
||||
0
|
||||
/vt mexec actiontryuseitem[wobjectfindnearestbyobjectclass[8]]
|
||||
/vt mexec actiontryuseitem[wobjectfindnearestbytemplatetype[53011]]
|
||||
3
|
||||
6.85679616481066
|
||||
-19.8018191655477
|
||||
|
|
@ -2056,7 +2056,7 @@ n
|
|||
s
|
||||
e
|
||||
s
|
||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]>getvar[pickupRange]+4
|
||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbytemplatetype[53011]]]>getvar[pickupRange]+4
|
||||
TABLE
|
||||
2
|
||||
K
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue