Movement ko KR - Reetus/ClassicAssist GitHub Wiki
ν΄λμμ΄μμ€νΈ 맀ν¬λ‘ λͺ λ Ήμ΄
μμ±λ 2024-12-15 μ€μ 3:30:41
λ²μ : 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Translated by Mark Hunt & Andy H.
μ΄λ
Follow
λ©μλ μκ·Έλμ²:
Void Follow(System.Object)
νλΌλ―Έν°
- obj: μ μ λλ 16μ§μ νμμ μ€μ μ리μΌ, λλ "self"μ κ°μ μ΄λ¦ λ¬Έμμ΄. (μ΅μ )
μ€λͺ :
Instructs ClassicUO to follow the specified alias/serial, supply no parameter to cancel
μμ:
if FindObject('enemy'):
Follow('enemy')
Attack('enemy')
else:
Follow() # stop following
Pause(1000)
Following
λ©μλ μκ·Έλμ²:
Boolean Following()
μ€λͺ :
Returns True if currently following a target
μμ:
if not Following():
Follow('enemy')
Pathfind
λ©μλ μκ·Έλμ²:
Boolean Pathfind(System.Object)
νλΌλ―Έν°
- obj: μ μ λλ 16μ§μ νμμ μ€μ μ리μΌ, λλ "self"μ κ°μ μ΄λ¦ λ¬Έμμ΄.
μ€λͺ :
ν΄λΌμ΄μΈνΈμκ² μ£Όμ΄μ§ μ’ν(coordinates)/Entityμ λν κ²½λ‘ μ°ΎκΈ°λ₯Ό μμ²ν©λλ€.
μμ:
#Pathfind to coordinates
Pathfind(1438, 1630, 20)
#Pathfind to entity
SetEnemy(0x3c9)
Pathfind('enemy')
# Cancel pathfind in progress
Pathfind(-1)
Pathfind
λ©μλ μκ·Έλμ²:
Boolean Pathfind(Int32, Int32, Int32, Boolean)
νλΌλ―Έν°
- x: X μ’ν.
- y: Y μ’ν.
- z: Z μ’ν.
- checkdistance: μ§μ λμ§ μμ - μ¬μ© λ°©λ²μ λν μ€λͺ μ 보μΈμ. (μ΅μ )
μ€λͺ :
ν΄λΌμ΄μΈνΈμκ² μ£Όμ΄μ§ μ’ν(coordinates)/Entityμ λν κ²½λ‘ μ°ΎκΈ°λ₯Ό μμ²ν©λλ€.
μμ:
#Pathfind to coordinates
Pathfind(1438, 1630, 20)
#Pathfind to entity
SetEnemy(0x3c9)
Pathfind('enemy')
# Cancel pathfind in progress
Pathfind(-1)
Pathfinding
λ©μλ μκ·Έλμ²:
Boolean Pathfinding()
μ€λͺ :
Returns True if ClassicUO is currently pathfinding
μμ:
Pathfind('enemy')
Pause(25) # there is a delay between calling Pathfind() and Pathfinding() being True
while Pathfinding():
Pause(50)
HeadMsg("die scum", "self")
Run
λ©μλ μκ·Έλμ²:
Boolean Run(System.String)
νλΌλ―Έν°
- direction: λ°©ν₯ μμ) "μμͺ½". μ°Έμ‘°: Direction
μ€λͺ :
λμͺ½ λ°©ν₯μΌλ‘ λ¬λ¦°λ€.
μμ:
Run("east")
SetForceWalk
λ©μλ μκ·Έλμ²:
Void SetForceWalk(Boolean)
μ€λͺ :
ν¬μ€ κ±·κΈ° μ€μ
μμ:
SetForceWalk(True)
ToggleForceWalk
λ©μλ μκ·Έλμ²:
Void ToggleForceWalk()
μ€λͺ :
ν¬μ€ κ±·κΈ° ν κΈ
μμ:
ToggleForceWalk()
Turn
λ©μλ μκ·Έλμ²:
Void Turn(System.String)
νλΌλ―Έν°
- direction: λ°©ν₯ μμ) "μμͺ½". μ°Έμ‘°: Direction
μ€λͺ :
λμͺ½ λ°©ν₯μΌλ‘ λλλ€.
μμ:
Turn("east")
Walk
λ©μλ μκ·Έλμ²:
Boolean Walk(System.String)
νλΌλ―Έν°
- direction: λ°©ν₯ μμ) "μμͺ½".
μ€λͺ :
λμͺ½ λ°©ν₯μΌλ‘ κ±·μ΅λλ€.
μμ:
Walk("east")
νμ
Direction
- North
- Northeast
- East
- Southeast
- South
- Southwest
- West
- Northwest
- Invalid