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

How can I get target NPC's ID with RBConsole?

Code:
Log(Core.Me.CurrentTarget.NpcId);

or for a lot more info about them in case that you need it:

Code:
GameObject s = GameObjectManager.GetObjectByNPCId(Core.Target.NpcId);
{
 Log(s.EnglishName);
 foreach (var prop in s.GetType().GetProperties())
 {
  Log("\t" + prop.Name + ": " + prop.GetValue(s));
 }
}
 
Back
Top