Author Topic: how to get the name of item ?  (Read 406 times)

0 Members and 2 Guests are viewing this topic.

Offline lbfsitewebTopic starter

  • Newbie
  • *
  • Posts: 8
  • Activity:
    0.6%
  • Reputation Power: 1
  • lbfsiteweb has no influence.
  • Referrals: 0
    • View Profile
how to get the name of item ?
« on: December 07, 2025, 10:53:30 PM »
How to obtain the name of a item

Offline Crisis

  • Global Moderator
  • *
  • *
  • Posts: 3172
  • Activity:
    0.6%
  • Reputation Power: 43
  • Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.Crisis is a force to reckon with.
  • Gender: Male
  • Scripting well enough to break things!
  • Referrals: 2
    • View Profile
Re: how to get the name of item ?
« Reply #1 on: December 09, 2025, 02:18:32 PM »
The name should be visible in game but to get other info you can do _info which will bring a cursor up to click an item and get info such as serial number and color etc

Offline lbfsitewebTopic starter

  • Newbie
  • *
  • Posts: 8
  • Activity:
    0.6%
  • Reputation Power: 1
  • lbfsiteweb has no influence.
  • Referrals: 0
    • View Profile
Re: how to get the name of item ?
« Reply #2 on: December 09, 2025, 10:50:06 PM »
and     how to use Script to get name?

Offline JoO

  • Jr. Member
  • **
  • Posts: 20
  • Activity:
    0.2%
  • Reputation Power: 0
  • JoO has no influence.
  • Referrals: 1
    • View Profile
Re: how to get the name of item ?
« Reply #3 on: December 16, 2025, 04:31:03 AM »
Here is an example.
function PrintNameBySerial() {
    var obj = Orion.FindObject('0x072AC317'); // Replace with actual serial
    if (obj) {
        Orion.Print("Object name: " + obj.Name());
    } else {
        Orion.Print("Object not found.");
    }
}

Tags: