
Here is my code: StatusTracker.AddStatus = function(CharID, statusName, statusDescript, Duration, GMOnly, Marker, CasterID, Value) { log("CharID: " + CharID); log("statusName: " + statusName); log("statusDescipt:" + statusDescript); log("Duration:" + Duration); log("GMOnly:" + GMOnly); log("Marker: " + Marker); log("CasterID: " + CasterID); log("Value: " + Value); state.queue.push({ 'CharID': CharID, 'statusName': statusName, 'statusDescript': statusDescript, 'Duration': Duration, 'GMOnly': GMOnly, 'Marker': Marker, 'CasterID': CasterID, 'Value': Value, }); log("new state queue:" + state.queue); } Why is the output for my state object (state.queue): "[object Object]" ??? My other state object is not behaving like this. Is it because I am pushing variables into this state object from within a function? I have logged all of the variables to the console output to check that they are correct before they go into the state object and everything is above board. I am a bit of a newbie with writing code so any help would be awesome.