Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [17:05:04] Han: the event loop in
- [17:05:11] Han: ConPlayBark.GetBarkSpeech()
- [17:05:31] Han: would need to handle
- [17:05:42] Han: case ET_SetFlag:
- case ET_CheckFlag:
- [17:06:10] Hawkbird: Can that be copied from ConPlay?
- [17:06:12] Han: maybe others like checkpersona, addnote, addgoal, addtrigger to
- [17:06:43] Han: probably
- [17:06:48] Han: maybe the issue is more like
- [17:07:02] Han: maybe there is no valid event to return based on flags
- [17:07:56] Han: so that case would need to be handled properly inside BarkManager.conPlayBark()
- [17:08:00] Han: which might be a bit of a hastle
- [17:09:02] Han: but checking if GetBarkSpeech() returns none
- [17:09:04] Han: AND
- [17:09:06] Han: in this case
- [17:09:17] Han: make sure that the cleanup code after the bark was played is properly ran
- [17:09:33] Han: which is probably in some other place inside the gamecode
- [17:09:40] Han: otherwise it might screw things up
- [17:09:53] Han: but basically you should try it that way
- [17:17:34] Han: ah
- [17:17:46] Han: mission2.con the ParkBum*
- [17:17:58] Han: they have check flag up front for ambrosia
- [17:18:11] Han: so yeah great, i was afraid that there might be multiple barks or sth
- [17:18:29] Han: so it's jsut one con with the barks apparently, which is nice
- [17:19:50] Han: do the flag making for the convo on PimpOverheader_Player, etc. work for Pimp.PimpBark ?
- [17:19:53] Han: *masking
- [17:20:12] Han: otherwise that would be another bug there
- [17:20:21] Han: but sort of unrelated to the above
- [17:21:03] Han: yeah
- [17:21:08] Han: StartBark just calls FindConversationByName
- [17:21:14] Han: and just use it based on name
- [17:21:33] Han: so it looks like there is actually no check happening whether the bark has flags
- [17:21:39] Han: or that might just happen outside
- [17:21:41] Han: dunno
- [17:22:14] Han: nope doesnt look like there is any outside check
- [17:26:19] Han: sort of looks like a bit there is some
- [17:26:30] Han: sort of bAbortConversation = !CheckFlagRefs(con.flagRefList);
- [17:26:37] Han: missing
- [17:27:10] Han: which afaik checks the green and red flags below a conversation in the tree view
- [17:27:18] Han: so that needs to be added there too
- [17:27:58] Han: probably best right before
- [17:28:01] Han: if (con != None)
- {
- [17:28:13] Han: in StartBark
- [17:28:14] Han: or well
- [17:28:19] Han: inside the first thing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement