The script runs a script, using arguments.
"then(script, script index, argument1, argument2, argument3, argument4)"
Argument |
Function |
script index |
The index in which the script is being stored under, used in other scripts. |
argument1 |
An argument passed over to the script, called in that script with arg[1], this argument is not a requirement. |
argument2 |
An argument passed over to the script, called in that script with arg[2], this argument is not a requirement. |
argument3 |
An argument passed over to the script, called in that script with arg[3], this argument is not a requirement. |
argument4 |
An argument passed over to the script, called in that script with arg[4], this argument is not a requirement. |
And example of the script command used in a script is as follows...
The following script plays a script that creates particles hit.
if(takedamage)
{
then(script,s_createparticle,p_brick,16,16)
}
|
|