Author Topic: registerOutputEvent, string  (Read 1311 times)

Right, so I'm trying to use something like:

Code: [Select]
registerOutputEvent("fxDTSbrick", "Blabla", "string",5,7);

Or something along those lines, but whenever I exec it I get:

Code: [Select]
WARNING: string maxLength < 1 on class:fxDTSbrick, event:Blabla
WARNING: string width < 18 on class:fxDTSbrick, event:Blabla

And I've tried all sorts of values instead of the 5 and 7. When I open the events thing, my event is in there, but the output text box won't let me type anything in it (it's waay too small).  I'd like it to allow a fairly large amount of characters to be entered into it, there doesn't really need to be a max.  How should I do this?

Parameters for output events must be fields.  One field per parameter.

"int min max default" TAB "string maxlength width"

Code: [Select]
registerOutputEvent("fxDTSBrick","fooEvent","string 200 72");

Thanks, worked great.