Jump to content
You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.
v0xc hasn't added any friends yet.
17 March 2011 - 06:05 PM
You can just do this then:action=(x>=view_xview && y>=view_yview && x<view_xview+view_wview && y<view_yview+view_hview)And is it in a repetitive event, such as a step or draw?
You can just do this then:
action=(x>=view_xview && y>=view_yview && x<view_xview+view_wview && y<view_yview+view_hview)
17 March 2011 - 05:39 PM
if inside_view=(x>=view_xview && y>=view_yview && x<view_xview+view_wview && y<view_yview+view_hview) { action = 1 } else { action = 0 }
17 March 2011 - 01:06 PM
Step event:inside_view=(x>=view_xview && y>=view_yview && x<view_xview+view_wview && y<view_yview+view_hview)
Step event:
inside_view=(x>=view_xview && y>=view_yview && x<view_xview+view_wview && y<view_yview+view_hview)
17 March 2011 - 12:53 PM
17 March 2011 - 11:33 AM
If your using a view, use view_xview[0...7] for x and view_yview[0...7] for y. If its a single room on your screen... just put the coordinates for x and y.