Event got corrupt?
Posted: Thu Jan 02, 2020 6:29 pm
Hi there,
I'm new to the CSC, but since I'm a little addicted now I've spent like 48 hours last week (holidays yay..) fooling around with it.
Now I got the issue that Leah still got all the menu items I gave her (Story-->Characters-->Leah), but they didn't fire anymore.
I went through my latest changes and put some periodically events that might create the problem to never, but nothing worked.
Then I started throwing away ALL event triggers (in a duplicated story) of 2 Leah and Derek (they share a story) and then I could talk to Leah again.
Duplicated my story again, now I only threw away Dereks event triggers, problem was back.
Then I duplicated my original again, started throwing Leah's event triggers away, one by one, untill I found the event trigger that caused the problem.
I put it to 'Never', problem remained.
I renamed it: problem remained.
It was not used by other event triggers.
I added a new event trigger, just to try to trigger the CSC to rebuild the Leah character, not working.
I started throwing away all the events in the event trigger one by one (and restarting game after every remove), but still the problem existed.
Then I duplicated my original again, threw away the entire event trigger and manually recreated it from my original.
And then Leah started working again. It is exactly the same, same name, same events, same criteria, but probably underneath a different event trigger id and that's how the problem got fixed.
I am a C#.Net developer in my daily job, now this sounds to me like a 'clean solution and rebuild entire solution' to me.
Duplicating a story doesn't generate new id's apparently, it just copies the corrupt situation.
I'm not a unity developer, but is there an equivalent of completly cleaning the solution? Exporting the story apparently doesn't fully rebuild all.
I hope above makes any sense.
Wishlist
In the light of this problem: a copy event trigger option wuld be great.
Since I have multiple characters doing the same actions (like strip, dress, dance, walk to a certain location etc.) and now I have to create those event triggers on every character. For me as a beginning CSC that means when I make a mistake in such an event, I have to copy the changes to such an event trigger to every characters event trigger.
More to say: it would be great if generics got implemented where you could use input variables.
So eg. I want a character to dress something like this would be possible.
Call EventTrigger_StripCharacter(string playername)
Or the object character would come along with the character event trigger firing the event.
So charactername.event_triggered gives 'event_triggered' the character object.
So character.stripcharacter could be something like
<character> clothing bottom off
<character> clothing top off
etc.
Probably not the first requesting these sort of changes.
And if it is already there, point me to it
I would expect global event triggers here
I'm new to the CSC, but since I'm a little addicted now I've spent like 48 hours last week (holidays yay..) fooling around with it.
Now I got the issue that Leah still got all the menu items I gave her (Story-->Characters-->Leah), but they didn't fire anymore.
I went through my latest changes and put some periodically events that might create the problem to never, but nothing worked.
Then I started throwing away ALL event triggers (in a duplicated story) of 2 Leah and Derek (they share a story) and then I could talk to Leah again.
Duplicated my story again, now I only threw away Dereks event triggers, problem was back.
Then I duplicated my original again, started throwing Leah's event triggers away, one by one, untill I found the event trigger that caused the problem.
I put it to 'Never', problem remained.
I renamed it: problem remained.
It was not used by other event triggers.
I added a new event trigger, just to try to trigger the CSC to rebuild the Leah character, not working.
I started throwing away all the events in the event trigger one by one (and restarting game after every remove), but still the problem existed.
Then I duplicated my original again, threw away the entire event trigger and manually recreated it from my original.
And then Leah started working again. It is exactly the same, same name, same events, same criteria, but probably underneath a different event trigger id and that's how the problem got fixed.
I am a C#.Net developer in my daily job, now this sounds to me like a 'clean solution and rebuild entire solution' to me.
Duplicating a story doesn't generate new id's apparently, it just copies the corrupt situation.
I'm not a unity developer, but is there an equivalent of completly cleaning the solution? Exporting the story apparently doesn't fully rebuild all.
I hope above makes any sense.
Wishlist
In the light of this problem: a copy event trigger option wuld be great.
Since I have multiple characters doing the same actions (like strip, dress, dance, walk to a certain location etc.) and now I have to create those event triggers on every character. For me as a beginning CSC that means when I make a mistake in such an event, I have to copy the changes to such an event trigger to every characters event trigger.
More to say: it would be great if generics got implemented where you could use input variables.
So eg. I want a character to dress something like this would be possible.
Call EventTrigger_StripCharacter(string playername)
Or the object character would come along with the character event trigger firing the event.
So charactername.event_triggered gives 'event_triggered' the character object.
So character.stripcharacter could be something like
<character> clothing bottom off
<character> clothing top off
etc.
Probably not the first requesting these sort of changes.
And if it is already there, point me to it
I would expect global event triggers here