Neverdyne
Community Developer
- Joined
- Sep 12, 2014
- Messages
- 649
Some quick questions:
1. Is the Core.Me.NpcId the same as Character.SpellCastInfo.TargetId if the caster is targeting the player?
2. For the MathEx.GetPointAt method, what is the reference of the angle? Is 0 radians the player's forward direction?
3. Is Character.Heading the radian angle of where the character is facing? If so, what is the reference point?
Also, regarding injection. I was reading a somewhat old Honorbuddy post, where they discussed it a little bit. But there's something I don't have clear. The references to stuff in the game, like BattleCharacter objects, are they obsolete the next frame? What I mean is, lets say I save a reference to a battle character on one of my classes, something like:
Let's say the GetReference() method is called in one frame, and not on the other frames. If I then call IsDead() later, will it accurately tell me if that particular battle character is dead? I know that the character will probably not be my current target, but what I mean is will the personal information of that character still be updated on later frames? Basically I'm asking if the object references that represent stuff in-game go out of scope for Rebornbuddy the next frame.
1. Is the Core.Me.NpcId the same as Character.SpellCastInfo.TargetId if the caster is targeting the player?
2. For the MathEx.GetPointAt method, what is the reference of the angle? Is 0 radians the player's forward direction?
3. Is Character.Heading the radian angle of where the character is facing? If so, what is the reference point?
Also, regarding injection. I was reading a somewhat old Honorbuddy post, where they discussed it a little bit. But there's something I don't have clear. The references to stuff in the game, like BattleCharacter objects, are they obsolete the next frame? What I mean is, lets say I save a reference to a battle character on one of my classes, something like:
Code:
private BattleCharacter character;
public void GetReference()
{
character = Core.Target as BattleCharacter;
}
public void IsDead()
{
return character.IsDead;
}
Let's say the GetReference() method is called in one frame, and not on the other frames. If I then call IsDead() later, will it accurately tell me if that particular battle character is dead? I know that the character will probably not be my current target, but what I mean is will the personal information of that character still be updated on later frames? Basically I'm asking if the object references that represent stuff in-game go out of scope for Rebornbuddy the next frame.
Last edited: