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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

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