What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Face a location?

purpledrankk

New Member
Joined
Oct 11, 2014
Messages
20
Reaction score
0
Is there a way to make the bot face a location without using interact?

I need the bot to face a certain location so i can use a movement cooldown to clear a gap in Shiphand: Infestation... I've tried using interact but the bot re-positions itself and messes the angle up.
 
Code:
Buddy.Wildstar.Game.MovementManager.Face(Buddy.Common.Math.Vector3 position)

//Example usage:
MovementManager.Face(new Vector3(123, 123, 123));

// Potential ProfileBot usage (needs testing):
<If Condition="Buddy.Wildstar.Game.MovementManager.Face(new Vector3(123, 123, 123))" />

There's also a Code tag out there, but I've never been outgoing enough to read the definition and use it. =P
 
Cant seem to find anything about a code tag... unless you're talking about the lua tag.

I'm trying to do something like this;

Code:
<If Condition="Buddy.PublicQuest.GetObjectiveProgress('Tag valuable cargo for retrieval') == 4 and Buddy.PublicQuest.CanInteract(69877, -120.626, -498.809784, 180.928, 10)">

	<MoveTo X="-115.01696" Y="-510.248749" Z="156.515" MapId="1232" RunOnce="true" />
	<Jump FromX="-128.14949" FromY="-510.191" FromZ="163.864578" ToX="-131.342834" ToY="-505.178253" ToZ="165.169708" MapId="1232" DoubleJump="true" />
	<MoveTo X="-137.048737" Y="-499.2453" Z="170.550613" MapId="1232" RunOnce="true" />
	<Code="MovementManager.Face(new Vector3(-120.626, -498.809784, 180.928))" />  <!-- Face a direction or object -->
	<InputAction Action="LimitedActionSet8" />

</If>

Obviously that code won't work, but its essentially what I would like it to do.
 
Last edited:
The reason why I suggested the closed IfTag is that the Condition will execute code as well, and while it may look ugly, it does effectively work!

The Code tag was something like

<Execute PythonCode="" />, I'm away from my workstation so I can't check the reference for you. :(
 
Back
Top