Event Triggers wont show as option

General discussion of the House Party CSC, or get help making your own story.
Forum rules
Please follow all Eek! Forum rules.
gahadas
Posts: 5
Joined: Wed Mar 13, 2019 3:17 pm

Event Triggers wont show as option

Using 0.12.4 and basically redoing the Original Story. I'm a noob at this and are just trying functions.

I've added an Event Trigger for Brittney, right now it only contains a DisplayGameMessage (When: never).
When I try to trigger it from elsewhere it doesn't show up in the list together with the events that came with the original story.

Am I'm missing something?
gahadas
Posts: 5
Joined: Wed Mar 13, 2019 3:17 pm

Re: Event Triggers wont show as option

Also, what does "Order" do in a sequece of Game Events? Are they not for executing them in that order? Everything executes simultaneously for me.
eekdon
Posts: 1546
Joined: Tue Feb 13, 2018 4:29 pm

Re: Event Triggers wont show as option

Would have to see what you did with the Event Trigger. Did you use a unique name? How did you set this copy of the Original Story up?

Order does not mean they fire at different times. In most cases this will be a cosmetic, self-organization tool. But when events get queued up, (most notably in Event Triggers), they DO fire in their sort order as defined in the CSC. This can be important if you want to set a value to say, 1, and then know for certain that an event later in that Event Trigger will execute AFTER the value is set to 1, even if your timing/delay is tight.

You can see this for yourself by defining 10 events, like I have here, each with zero delay. The order in this shot shows that event with sortOrder 0 executed "first", followed by 1, 2, and so on.

Image
Image
gahadas
Posts: 5
Joined: Wed Mar 13, 2019 3:17 pm

Re: Event Triggers wont show as option

erasmus wrote: Wed Mar 13, 2019 8:58 pm Would have to see what you did with the Event Trigger. Did you use a unique name? How did you set this copy of the Original Story up?

Order does not mean they fire at different times. In most cases this will be a cosmetic, self-organization tool. But when events get queued up, (most notably in Event Triggers), they DO fire in their sort order as defined in the CSC. This can be important if you want to set a value to say, 1, and then know for certain that an event later in that Event Trigger will execute AFTER the value is set to 1, even if your timing/delay is tight.

You can see this for yourself by defining 10 events, like I have here, each with zero delay. The order in this shot shows that event with sortOrder 0 executed "first", followed by 1, 2, and so on.

Image
Hi and thanks for the reply. Now I get how Order works.

I just copied
Assets\Stories\Original Story
to
Assets\Stories\MyStory
and then changed Story Name in the story prefab and characters prefab.
Then I start with StoryCreator - Load Me First (Double Click).unity and navigate to the MyStory folder and edit those.

Attached 2 pics on how the Event Trigger looks and that it doesn't show in the list.
Attachments
Capture2.PNG
Capture2.PNG (46.18 KiB) Viewed 9832 times
Capture1.PNG
Capture1.PNG (45.11 KiB) Viewed 9832 times
eekdon
Posts: 1546
Joined: Tue Feb 13, 2018 4:29 pm

Re: Event Triggers wont show as option

You shouldn't need to copy anything. Either in Unity, or in Windows File Explorer. The Import and Export functionality built into the CSC's Story objects are what you should be using. Import the Original Story right from the folder where it is stored, i.e. something like C:\Users\YOUR NAME\Documents\Eek\House Party\Mods\Stories\Original Story, and it will load in the CSC. Then, either export immediately to create your base "working copy", or start making changes immediately and export to a new folder whenever you're ready.
Image
gahadas
Posts: 5
Joined: Wed Mar 13, 2019 3:17 pm

Re: Event Triggers wont show as option

erasmus wrote: Thu Mar 14, 2019 11:56 pm You shouldn't need to copy anything. Either in Unity, or in Windows File Explorer. The Import and Export functionality built into the CSC's Story objects are what you should be using. Import the Original Story right from the folder where it is stored, i.e. something like C:\Users\YOUR NAME\Documents\Eek\House Party\Mods\Stories\Original Story, and it will load in the CSC. Then, either export immediately to create your base "working copy", or start making changes immediately and export to a new folder whenever you're ready.
This is really hurting my head.

I can open up a story cube and then import a story from C:\Users\YOUR NAME\Documents\Eek\House Party\Mods\Stories\Original Story.
But that only gets me the story, not any characters when I export it to a different folder.
Sure, I can copy in the .character files to that folder, but how do I even edit them later?

Everything except the Event trigger-thing works the way I've been doing it.
peter980
Posts: 1601
Joined: Thu Feb 15, 2018 1:50 am

Re: Event Triggers wont show as option

You need to do following:
Rename story name property for each of character files to match name of the story.

Then import the story, and it will populate matching character files.
gahadas
Posts: 5
Joined: Wed Mar 13, 2019 3:17 pm

Re: Event Triggers wont show as option

Forget it, its working now.

I re-downloaded CSC, created a simple event trigger and exported the Original Story again. Now it works.

I must've screwed the original files somehow.
eekdon
Posts: 1546
Joined: Tue Feb 13, 2018 4:29 pm

Re: Event Triggers wont show as option

gahadas wrote: Fri Mar 15, 2019 6:22 pm Forget it, its working now.

I re-downloaded CSC, created a simple event trigger and exported the Original Story again. Now it works.

I must've screwed the original files somehow.
Alright cool! Yeah it could have been that, or, there are just links made within Unity that can get broken if you don't follow the right process. Which, I know...is laid out so very clearly and all :oops:
Image
Sammaxbali
Posts: 10
Joined: Thu May 02, 2019 5:46 pm

Re: Event Triggers wont show as option

About the event order. I have this problem too. I have put each action in order by giving them 0-1-2-3-4 and so on. Everything seems to happen simultanously. It is a bit frustrating when I want a character to go to a given location, and then perform an action like remove clothing or whatever. Currently, I want Frank to go to the garage and knock himself out. But he will just stand up, get knocked out(still standing). He does not go to the garage.. :roll:
Post Reply