playMaker

Author Topic: Property Reset on "Get Property" action  (Read 1047 times)

mythonitestudios

  • Playmaker Newbie
  • *
  • Posts: 2
Property Reset on "Get Property" action
« on: September 30, 2021, 07:27:41 PM »
Hello everyone! I have a script which will data values from a scriptable object and assign them. My issue is when I use the "Get Property" action, it sets the variable to "None." The reason I'm attempting to use the Get Property action is to load the scriptable object into the container, since it will populate the other variables. Here is the script where I would like to change the "creatureBase" from a scriptable object https://imgur.com/a/wrmYTgC. Here is what the inspector and states looks like https://imgur.com/a/Cuy1uHp. Any ideas?

mythonitestudios

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Property Reset on "Get Property" action
« Reply #1 on: September 30, 2021, 07:35:47 PM »
I should mention that while playing, the action works fine. However, when I first start the game and call the action, that is when the property gets set to "none." It's odd.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Property Reset on "Get Property" action
« Reply #2 on: October 02, 2021, 09:54:56 AM »
Hi.
The script is not a scriptable game object.
if you want to learn more about scriptable objects look here : Playmaker + Scriptable Objects = Win