Anyone able to intercept EVENT_TYPE_SET_PLOT in your own module?
Anyone able to intercept EVENT_TYPE_SET_PLOT in your own module?
Débuté par
JackFuzz
, févr. 15 2010 04:58
#1
Posté 15 février 2010 - 04:58
#2
Posté 15 février 2010 - 05:15
I haven't had any issues doing this. I have a plot file, and in the properties section of it, I specify the core script to send all the events to. Then, in said script, I'm able to catch EVENT_TYPE_SET_PLOT with no issues.
Is this what you're talking about?
Is this what you're talking about?
#3
Posté 15 février 2010 - 05:20
Challseus wrote...
I haven't had any issues doing this. I have a plot file, and in the properties section of it, I specify the core script to send all the events to. Then, in said script, I'm able to catch EVENT_TYPE_SET_PLOT with no issues.
Is this what you're talking about?
I'm trying to intercept alistair's events.
#4
Posté 15 février 2010 - 05:26
JackFuzz wrote...
Challseus wrote...
I haven't had any issues doing this. I have a plot file, and in the properties section of it, I specify the core script to send all the events to. Then, in said script, I'm able to catch EVENT_TYPE_SET_PLOT with no issues.
Is this what you're talking about?
I'm trying to intercept alistair's events.
I see... Well, I don't have the SP campaign opened up at the moment, but I assume alistair has his own plot file? In it, you should see which core script which will be catching said events. So, I guess override that? *shrug*
EDIT - Just took a look. I'm probably missing one, but I see 5 plot files for him:
- genpt_alistair_main
- genpt_alistair_talked
- genpt_alistair_events
- genpt_alistair_defined
- genpt_alistair_banter
Modifié par Challseus, 15 février 2010 - 05:29 .
#5
Posté 15 février 2010 - 05:48
The thing is EVENT_TYPE_SET_PLOT is only sent to the plot core script and not to the module core or anywhere else, so you can't catch it "in your module" per say. You'll have to either modify the plot resource to create a custom core script (if it doesn't have one already) or to override the current plot core script. (if one exists)
Modifié par Phaenan, 15 février 2010 - 05:48 .





Retour en haut







