Z
zendraw
Guest
Hi,
is it possible to use a various amount of arguments in a customly created script, like it is now in the instance_destroy(); function?
i have a script i want to use for various situations but the number of arguments vary. usually when i put more or less arguments it gives an error, but i remember at some cases it didnt give me an error to scripts that didnt use arguments yet i set arguments when i called them, becouse forgot to edit them out after changing the script`s functionality.
the way this script is going to function is, it will call another script if a case is met, and that other script wuld be of any kind and so its arguments wuld vary. so this script wuld be more or less universal.
using GMS1.
is it possible to use a various amount of arguments in a customly created script, like it is now in the instance_destroy(); function?
i have a script i want to use for various situations but the number of arguments vary. usually when i put more or less arguments it gives an error, but i remember at some cases it didnt give me an error to scripts that didnt use arguments yet i set arguments when i called them, becouse forgot to edit them out after changing the script`s functionality.
the way this script is going to function is, it will call another script if a case is met, and that other script wuld be of any kind and so its arguments wuld vary. so this script wuld be more or less universal.
using GMS1.