Re: sby's loader imports; 8/09/2014: too much stuff to list here
this seriously works? I have to dig around to find my old code, but that looks exactly like what I did... :osby said:well, the code i posted earlier solved most of the problem, but i found a proper way to add in the category to be like the others:
the 320 + 80 is the "maxbuild" stuff, basically how long it will wait if she can't say it right offCode:mydialogstateclass = main.eDOM.getDefinition("obj.dialogue.DialogueState") as Class; g.dialogueControl.states["puke"] = new mydialogstateclass(320 + 80, 3);
the 3 is the priority, higher priority means it will be played first.
then later in the puke function, i can do:
just like all of the other dialogsCode:g.dialogueControl.buildState("puke",210);