Author Topic: Interaction with SpawnObject  (Read 3354 times)

marmot

  • Posts: 7
  • Maggot Crusher.
    • View Profile
Interaction with SpawnObject
« on: May 27, 2014, 12:55:58 PM »
I'd like to know if there's a way to interact with a doodad spawned with the SpawnObject trigger.

At the moment, I'm looking at making a flickering torch that activates itself with AreaTrigger, using mainly HideObject.
It works fine, but I still have to put an activated torch and I can't think of another way than hiding it at the start of the level.
I'd find it more convenient to spawn it directly within the AreaTrigger sequence and interact with it this way.

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: Interaction with SpawnObject
« Reply #1 on: May 27, 2014, 10:34:06 PM »
When you are in the mode where you select doodads for a script you can right click a SpawnObject script node and select Last spawned.

marmot

  • Posts: 7
  • Maggot Crusher.
    • View Profile
Re: Interaction with SpawnObject
« Reply #2 on: May 28, 2014, 09:39:48 AM »
Thanks for the tip, it works fine ;D