Author Topic: Instance ID  (Read 1046 times)

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Instance ID
« on: July 15, 2020, 10:15:58 AM »
Say I have a routine running in the Loop of an object and I want the routine to affect only that instance of the object in the level, is there a way?
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Instance ID
« Reply #1 on: July 15, 2020, 06:45:17 PM »
You can use nearest/farthest commands, or in the object settings don't include an ID for the object to make it only apply to that object.

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Re: Instance ID
« Reply #2 on: July 15, 2020, 08:17:00 PM »
Cool. Thanks.
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam