Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on January 29, 2015, 02:45:13 PM
-
Hi,
i have this problem in my program.
Using 'Array list get Random' and just after that 'Array list remove At'
i get the random card like i want but it 's clearly not removed after that, it can cause duplicated index during this step, wich is not desired in the rules of my game..
i have to precise that, i'm using Quaternion variables in the list
-
Did you ever get this figured out? I am also having issues using Array List Remove. I have an array that i fill with objects. Tile1,Tile2,Tile3,Tile4. Grab a random one, stick it in an Object Variable, create an object based on that variable, and then try to remove it form the array using that variable. It never does remove the object. I try this in a loop to spawn a table full of objects but have problems.
-
Ugh, what a nightmare. I have 2 arrays in an array_Manager. One named Tiles that hosts the Object, the other named Positions that store Vector3 locations.
I had Positions on the array spelled correctly, but when it came time to delete I was referencing "Positons"... I was short an I. There goes a couple hours of pain.
:) >:( :o
-
ouch...
Did it not log some warning in the console that it did not find the reference?
I have added this in the check list for ArrayMaker
https://trello.com/c/jPAktQDt/77-arraymaker-update
Bye,
Jean
-
Yes it did show some errors in the console, but I am a bit new to this and was a bit confused as to what I was looking at. I had an idea there was an issue there, but got lost in the other lines that popped up in the console with it.
I looked at the array name several times and just missed it. It was combination of being new to this and not reading the text completely. I have learned to copy and paste :-)
-
;D
copy paste is evil sometime :) I still fail to do it properly... so don't worry we are in the same boat...
Bye,
Jean