playMaker

Author Topic: Error editing Action  (Read 391 times)

blackant

  • Sr. Member
  • ****
  • Posts: 295
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Error editing Action
« on: August 19, 2016, 04:43:50 AM »
Hello,

i got this error during editing, i don't know if it' linked to array and global variable but i was working on it during this bug, so it may be related.

so to explain when it happened:
i was doing my states using 19 global variables Objects (UI textures)
Finally after more works i decided to replace this 19 variables to 1 array contining them.

and so after editing this array i had to replace all my old actions using old Global Variables by this Get array, store value and replace by the simple variable containing the Object.

and i deleted the old Globals after the works was done.
and i seen that my array was not the right one, so i modified this in the action, and the bug appears at this point.

blackant

  • Sr. Member
  • ****
  • Posts: 295
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Re: Error editing Action
« Reply #1 on: August 19, 2016, 05:13:50 AM »
just made a short video to better explain how it happens,

https://www.youtube.com/watch?v=bPtakDKI0rg&feature=youtu.be

and i also fund why this is happening, it's because the variable is not the right Object parameter...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Error editing Action
« Reply #2 on: September 01, 2016, 10:49:58 PM »
Hi,

 ok, yes, the problem is the following, You can not mixmatch textures and Sprites.

 and inside Array you can not store Sprites, so you are in a dead end right now... with incompatible types.


I suggest you use ArrayMaker as I support arrays of Sprites.

Bye,

 Jean