View Single Post
  #1  
Old 06-01-2006, 03:24 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Destroying an object in GS2?

I have been messing around w/ stuff, and was wondering how to clear this entire object.

hotel.room = "Rooms";
hotel.suite = "Suites";
hotel.master = "Master Suites";

Just some of the names, after that it contains
hotel.room.#.account
hotel.suite.#.account
hotel.master.#.account

and there could be like 500, and it only resets when you reconnect. How to destroy entire object?

I've tried: hotel.destroy();
Reply With Quote