For each item in list, create actor at cords

Ultim0vsitachi

  • Posts: 6
I'm trying to create 5 actors, at 5 different locations taken from the list and i can't figure what i'm doing wrong (nothing happens). The battle start is already set to true at when created event.

Luyren

  • *
  • Posts: 2807
If that's a behavior, you have to attach it to your actor or scene, and make sure its actual values correspond to what you want.

If that's an event, default values don't work. Default values only apply to non-hidden attributes to have a pre-configure setting, and event attributes are always hidden. You either have to make your code a behavior, or manually set your items in your list inside the code.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

Ultim0vsitachi

  • Posts: 6
Thanks!! i turned it into a behavior and worked!
Also thanks for all the free behaviors you created, i'll probably ask you things about them in the future  :P

Luyren

  • *
  • Posts: 2807
Feel free to do so, either here or on the discord server.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.