SOLVED - Trying to make a non recurring item pick up

SpookyBurger

  • Posts: 82
Hi!  I'm having a "problem" where I have a actor with the following behavior.  I want it to not re-spawn everytime the actor re-enteres the scene after it's been "picked up" thus the boolean.  Is there a simple fix that I'm missing or am I going to have to with another approach?  Using game attributes to track this will be far too clunky.  If I'm not clear about something please let me know, and thanks in advance for any help.


« Last Edit: July 15, 2013, 10:15:02 pm by SpookyBurger »
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179

rob1221

  • *
  • Posts: 9472
Look at the values in your lists before you spawn the actor (or kill the actor if it's placed in the scene editor).

SpookyBurger

  • Posts: 82
Sorry I should have been more specific.  I want to be able to drop multiple of these in a scene, and just have them remove them selves without a external list.
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179

rob1221

  • *
  • Posts: 9472
If you don't use a list then you'll have to use multiple game attributes of other types equal to the number of actors you're trying to save data for.

SpookyBurger

  • Posts: 82
Okie dokie thanks.  I was hoping I'd be able to accomplish something similar to how RPG Maker does it with self switches.  I'll just make a scene behavior that spawns these actors according to what's in it's list, and then when a item is picked up it'll remove it's entry from the scene's list.  Thanks!
Please try out my latest build of Patient 9 here.   http://www.stencyl.com/game/play/23179