I call lots and lots and lots of scripts from conversations and have noticed that every once in a very rare while the scripts seem to just not get called. There are two instances from playtesting my new campaign where bugs arose that are clearly due to a script not being called properly. The scripts have worked with all of my run-throughs and all the other playtesters, but in these two isolated cases with different scripts and different conversations, they just didn't fire.
Has anyone else had this happen?
The only solution I can think of is to call the scripts in other appropriate places as well as a backup.
Scripts not being called from conversations
Débuté par
M. Rieder
, févr. 12 2012 07:24
#1
Posté 12 février 2012 - 07:24
#2
Posté 12 février 2012 - 07:42
M. Rieder wrote...
I call lots and lots and lots of scripts from conversations and have noticed that every once in a very rare while the scripts seem to just not get called. There are two instances from playtesting my new campaign where bugs arose that are clearly due to a script not being called properly. The scripts have worked with all of my run-throughs and all the other playtesters, but in these two isolated cases with different scripts and different conversations, they just didn't fire.
Has anyone else had this happen?
The only solution I can think of is to call the scripts in other appropriate places as well as a backup.
The only cause of scripts not firing from conversations that I have seen is when scripts are attached to the end node of the conversation. The fix is to restructure the conversation so that the end node does not have any scripts.
Rewrite this:
Do you want to play a game?
-- [END DIALOG] Yes. <- scripts on this node may not fire properly.
-- [END DIALOG] No.
To this:
Do you want to play a game?
--Yes <- attach the scripts to this node
----[END DIALOG]
--[END DIALOG] No.
Regards
Modifié par Kaldor Silverwand, 12 février 2012 - 07:43 .
#3
Posté 12 février 2012 - 07:49
Okay, I think I've heard of that too. In your experience is this an intermittent or reproducible problem. I know that I have scripts that fire from end nodes, so I guess I just answered my own question.
#4
Posté 12 février 2012 - 07:58
I'm thinking it is intermittent because each time someone has posted about this it is always couched in terms of "sometimes my scripts don't work". My guess it has something to do with the timing of the conversation ending, but maybe it is just a bug in how end nodes are processed.
This can also prevent action scripts from working reliably when called from one-liner conversations.
This can also prevent action scripts from working reliably when called from one-liner conversations.
#5
Posté 12 février 2012 - 08:16
Thanks I'll see what I can do about that.





Retour en haut






