02.01.2011, 19:55
Hi,
I have in my script:
GamemodeInit()
Object1 = Createobject(588,1000,1000,500); // just a example
I want to make a command, if the "Object1" move or is not in the position given in the GamaModeInit, so the command don't work with a return, "this object move". I use if (getobjectpos(Object1, 1000,1000,500) { command work} else if (getobjectpos(Object1, 1000,1000,600){ command work} ... but i have always a error ...so getobjectpos is not I think adapted for that.
Thanks help.
I have in my script:
GamemodeInit()
Object1 = Createobject(588,1000,1000,500); // just a example
I want to make a command, if the "Object1" move or is not in the position given in the GamaModeInit, so the command don't work with a return, "this object move". I use if (getobjectpos(Object1, 1000,1000,500) { command work} else if (getobjectpos(Object1, 1000,1000,600){ command work} ... but i have always a error ...so getobjectpos is not I think adapted for that.
Thanks help.