Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Kinda hard to explain, so read it I guess^^;;

Okay here's my situation... I have a character on the screen, and that character is to join my party. I also have a catepillar script in place [the significance of this I will explain in a sec]. So the character interacts with my main character. Aforementioned character joins the party. I have an Erase Event command setup so the character will disappear momentarily, then reappearing in the back of the line [thanks to the catepillar script]. Now, here's where the problem lies... I save the game, turn it off, restart the game. I see two of the same character on the screen... one in my catepillar line of course, then the first one in the same exact spot! And I setup an Erase Event command too... so it shouldn't be there, right? It wasn't there for the previous duration, what changed was when I reset the game. So... is there another command I'm suppose to use in order to make that character disappear from the screen for good, even after I've saved my game and turned it off?

EDIT: Woops, meant to post this in general support. Could someone move it?
 
I think that's because you erase it, but when you turn on the game again, it doesn't remember it has been erased (since it probably has no switch, I don't know). Instead of erasing, try activating a Local Switch and create a new page in that event with nothing on it, only the condition that it only happens when Local Switch is turned on.
 
Could you kinda.... if you don't mind, walk me thru the steps?^^;; I've never messed with switches before....

EDIT: nvm I figured it out after messing around with it abit... problem solved ^_^
 
Switchs are very easy once you actually know what you're doing ^^ Think them like buttons, or, like real switches.

You're in a room, with a door closed, and there's a switch turned OFF. When you press it to turn it ON, the door will open, and if you press it OFF again, the door will close.

It's the same. For example: you need a quest where the player needs a bucket. In order to catch the bucket, you must first take the quest, so, it would be:

Farmer: Fetch me me bucket, ma boy!
(SWITCH 0001: ON).

Then, you create a bucket event, and as a condition you put "SWITCH 0001: ON". If that switch is not on, there will exist no bucket.
When you catch the bucket, you can simply put a Local Switch (local switches only work in the same events) and in the next page, nothing if Local Switch is on. But before the local switch, you need to actiave another switch, for example, "SWITCH 0002: ON".

Now, on the other guy's event, you create another page only active when SWITCH 0002: ON and he says:

Farmer: Ahh, me bucket! Now I can scratch me feet!

and he gives you something, like money, or an item, or something.

Another easier way is doing the same, but in his thing, after activating a quest, put a Local Switch and have him ask:

Farmer: Do you have me bucket yet!?

If you answer no, then you can resume game, if you answer yes, then you can put a Conditional Branch and say: IF Switch 0002: ON THEN Farmer: Ahh, me bucket! Now I can scratch me feet! ELSE Farmer: Nay, you don't have me bucket lassie!

I did this really fast, so it's probably bad explained, because I got to go! =P PM me if oyu need something more! Hope I helped ;)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top