E
Eric_Harton
Guest
Is it possible to create object without specifying x and y?
The matter is that obj_warrior can be spawned within (x:100, x:200) while obj_archer can be spawned within (x:0, x:100); The available spawn range for each sprite is supplied as their properties (rangeXstart, rangeXend). But I can't access them unless I create the object.
The only solution comes on my mind to create object somewhere outside of playground (x:-100,y:-100) and then inside scr_create update object's coordinates.
The matter is that obj_warrior can be spawned within (x:100, x:200) while obj_archer can be spawned within (x:0, x:100); The available spawn range for each sprite is supplied as their properties (rangeXstart, rangeXend). But I can't access them unless I create the object.
The only solution comes on my mind to create object somewhere outside of playground (x:-100,y:-100) and then inside scr_create update object's coordinates.