Forums

 
Active Topics

"This Event" working with called global events.
kemuri
#1 Posted : Thursday, February 17, 2011 6:27:51 PM




Groups: Registered

Joined: 10/2/2010
Posts: 20
Location: United States
I could be mistaken, but right now it appears using a "this event" target in a global event doesn't work on the event that called the global event.

This could be a problem for creating long games with repeating complex events. Let's say I make a complex event I use repeatedly throughout the first 6 chapters of a game, and then while making the 7th chapter I give the event a major overhaul that improves it in every way. Without a way to make the changes once and "call" it I'd need to go back and delete all the old copies and replace them with the new copies one by one in order to update them.

Another possibility could be to make something similar to template events, except changing the original would change every single one throughout the project.
Carionte
#2 Posted : Saturday, February 19, 2011 12:38:31 PM




Groups: Registered

Joined: 1/19/2011
Posts: 7
Location: Chile
Maybe qhen you call an event, it could be just a "direct access", and the events be stored in some kind of "event library", so you could easily change any event from accessing said library, wich would update each instance it was created with that event.

I'm just a newbie here so i'm still not really sure how it works, but this could be a solution.
MrMo
#3 Posted : Tuesday, February 22, 2011 3:04:16 PM




Groups: Registered, Administrators

Joined: 1/31/2010
Posts: 228
Location: United States
Hmm, so you are saying Event A calls Global Event B and "This Event" should use "Event A" instead of "Global Event B" ?
Need Help? Post here.
Found an error/bug? Read here and here.
Earn points and get EGM for free!

Carionte
#4 Posted : Wednesday, February 23, 2011 8:55:19 AM




Groups: Registered

Joined: 1/19/2011
Posts: 7
Location: Chile
Maybe it's not that clear.
More than an event, i will refer to it as a function, where every function is a global function. I mean, you create an NPC with some standard configuration. That NPC goes to a database, custom named (say, function NPC_hair(hair color,eyebrows color)). Now, when you create a second NPC, you have the option to call for the configuration of the first one, with some custom changes of course (call NPC_hair(red,blue)).
SO, if you need to change this function, there is no problem, you go to the database and change it, so each time it's called it refers to the main function instead of some independent copy wich had to be changed by hand.

So, using you terminology, "This Event" should call "Event A", because it's global, in the way of being accesible by any other event, not because it's variables were global. Not "instead" of a global event. So that way every event would be easily updatable and also readily accesible by any other event.

I must say i have no idea if its already implemented. I'm waiting in line for ther next version so i could finally complete a tutorial.
MrMo
#5 Posted : Friday, February 25, 2011 12:17:17 PM




Groups: Registered, Administrators

Joined: 1/31/2010
Posts: 228
Location: United States
I get it now. I'll add it in my todo. Can't say it will be in next version because I will have to rewrite some code in the engine. There will be a button next to "Cut/Copy/Paste Page" commands in the Event Editor called "Link To Parent". It will be checked by default so all events created from Template Events will be linked to the original template event by default. You can break the link by unchecking the button.
Need Help? Post here.
Found an error/bug? Read here and here.
Earn points and get EGM for free!

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

1.9.403 EGM Custom
This page was generated in 0.206 seconds.