create object at cursor location
trying to make it so an object is created at the location of the cursor when a user clicks. I know theres a 'when user clicks create object' expression, but creating an object only gives me the option of a XY location or a XY location relative to an object.
Re: create object at cursor location
[events:32]
* [obj_mousekb] User clicks left mouse button
- [obj_create] Create object offscreen
- [obj_active] Set X position (co-ordinates) of object to xmouse
- [obj_active] Set Y position (co-ordinates) of object to ymouse
[/events]
Re: create object at cursor location
works perfectly. thanks a bunch!