Compile Scripts...Error : duplicate script name found gml_Script_create_bullet

Jakylgamer

Member
the way scripts work have changed in 2.3.
scripts can contain multiple functions.
functions act just like the way the old scripts worked.
example:
GML:
function create_bullet(arg1,arg2,arg3) {
//code goes here
}
//then you call it by using
create_bullet(x,y,obj_bullet)
check this video out it explains it.
 
Last edited:
Top