playMaker

Author Topic: Error editing Action  (Read 2157 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Error editing Action
« on: August 19, 2016, 07: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

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


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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Error editing Action
« Reply #2 on: September 02, 2016, 01:49:58 AM »
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