Dialog Help.. +rep
#7

Filterscripts should ALWAYS have "return 0;" at the end of OnDialogResponse.

Why?
The filterscripts are executed in the order you state in the server.cfg file.
At the end, your gamemode is processed.

If your first filterscript has "return 1;" in that callback, the server thinks you want to end the responses on dialogs there, so it won't process the other filterscripts for OnDialogResponse.

Having "return 0;" in the first filterscript in OnDialogResponse, actually means the proper dialog-id wasn't found there and the server should continu to search for the proper dialog-id in the next filterscript.
Reply


Messages In This Thread
Dialog Help.. +rep - by Eliminator - 12.12.2013, 04:37
Re: Dialog Help.. +rep - by Voxel - 12.12.2013, 07:12
AW: Re: Dialog Help.. +rep - by BigETI - 12.12.2013, 07:17
Re: Dialog Help.. +rep - by StuartD - 12.12.2013, 07:35
Re: Dialog Help.. +rep - by Eliminator - 13.12.2013, 00:34
Re: AW: Re: Dialog Help.. +rep - by Voxel - 13.12.2013, 05:10
Re: Dialog Help.. +rep - by AmigaBlizzard - 13.12.2013, 05:36

Forum Jump:


Users browsing this thread: 1 Guest(s)