Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / DeleteVirtualButton ID is not free for recreation.

Author
Message
Daqs
9
Years of Service
User Offline
Joined: 23rd May 2015
Location:
Posted: 5th Jun 2015 14:00
I have 2 different scenes, after 1 scene ends. All the buttons are deleted, and once that scene is created again those buttons are recreated. It is working properly as it should however I see messages on the output window that

Cannot add virtual button 0, a virtual button already exists at that index

I don't know why this message is showing on the output window every time to go this scene. Even though, it's actually deleting the button and showing it again.
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 5th Jun 2015 14:05
I thought that zero was an illegal index?

<<It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.>> Dijkstra
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 5th Jun 2015 15:49
Quote: "I thought that zero was an illegal index?"


it is:
Quote: "Invalid virtual button index, valid range is 1-12 in main.agc at line 80"

Login to post a reply

Server time is: 2024-11-16 18:11:57
Your offset time is: 2024-11-16 18:11:57