Sharpy
New Member
- Joined
- Mar 22, 2016
- Messages
- 2
- Reaction score
- 0
Currently have this bit of code to print the local player position to a text box. Only problem is that it doesn't update the player position and prints the same value.
PHP:
using Buddy.Wildstar.Game.Actors;
using System;
using System.Windows.Forms;
namespace ProfileJabbit.GUI
{
public partial class Menu : Form
{
private Player Me;
public Menu()
{
InitializeComponent();
Me = GameManager.LocalPlayer;
}
private void addButton_Click(object sender, EventArgs e)
{
RefreshMe();
richTextBox1.Text += Me.Position.ToString() + "\n";
}
private void RefreshMe()
{
Me.Update();
}
}
}