edited January 2017 in ORK Support
Hi I was wondering if some one could help me. I need to edit a variable of a script within a battle event.

I have a script called GenerateDebris on all my combatants with a bool destroyed. Now when I call the battle event Defeted I want to set destroyed to true so that my script will run but I'm having troubles setting the bool to true. Any help would be greatly appreciated.

Thanks
Post edited by jonjaydee on
  • edited January 2017
    Sorry. I've solved it. I had the target obect for the change fields step set to object - target not object - user.

    I was trying to get this to work for over 2 hours then as soon as I make this post I noticed my rookie mistake.
    Post edited by jonjaydee on
  • Yeah, always make sure to check your setup - it's usually the little things that keep you busy :D
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.