EPDGaffney Posted January 17, 2018 Share Posted January 17, 2018 (edited) I'm only just getting into UDF scripts now, but so far I've had no trouble. However, there is of course always a chance I've made some novice error. Now, my understanding is that this function allows me to treat a dialogue topic as if it were calling a Begin block whenever it's said. These are my two scripts, the latter of which is part of a larger script that I don't remember and have cut as I don't believe it's relevant, though I could be wrong. scn GSBAeneidArcadeUDFScript Begin Function {} set GSBAeneidQuest.GSBArcadeLatin to 1 End Begin GameMode SetOnDialogTopicEventHandler GSBAeneidArcadeUDFScript 1 VDialogueArcadeGannonVFSArcadeGannonTopic002 If [et cetera and so on...] EndIf EndI see minor problems with these and have guesses about some other aspects, but if anyone has real experience with this sort of thing and can help me cut down my testing time, I'd be grateful. Edit: Fixed it. I ignored the skeleton script for the handler for the most part, thinking it was just offering me the argument and variables in case I wanted to use them, which I didn't, but it appears they are necessary, as it now works. Edited January 17, 2018 by EPDGaffney Link to comment Share on other sites More sharing options...
Recommended Posts