To Know the position of a object
#1

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.
Reply


Messages In This Thread
To Know the position of a object - by ombre - 02.01.2011, 19:55
Re: To Know the position of a object - by Backwardsman97 - 02.01.2011, 20:27
Re : To Know the position of a object - by ombre - 02.01.2011, 21:29

Forum Jump:


Users browsing this thread: 1 Guest(s)