ZFGC

Resources => Coding => Topic started by: xxbloodlustxx on April 06, 2006, 09:20:14 pm

Title: [Request / Listing] more room issues >_<
Post by: xxbloodlustxx on April 06, 2006, 09:20:14 pm
Okay so when I chop down a bush, and leave the room, and then come back, the bush is still chopped down. That issue is solved when I make the room not persistent, however when i re-enter the room, there are two Links!! One where I set him to begin the game, and one where I set him to go to when he leaves the other room. Sorry, my programming skills aren't exactly topnotch. :( I'm trying to learn though.
Title: Re: more room issues >_<
Post by: AoDC on April 07, 2006, 12:58:07 am
You must have another link in the other room. Check creation code as well. Double check Room Creation events? Check everything. Itrs in the last place you look.
Title: Re: more room issues >_<
Post by: therabidwombat on April 07, 2006, 02:56:24 am
Instead of placing link directly in the room, have this code

Code: [Select]
if (!instance_exists(linksobjectnamehere))
{
  instance_create(xpos, ypos, linksobjectnamehereagain)
}
Title: Re: more room issues >_<
Post by: xxbloodlustxx on April 07, 2006, 03:36:31 am
Hey thanks, it worked.

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved