View Single Post
  #11  
Old 01-24-2003, 06:11 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Both testimg and isonimg would be good I think. The function isonimg would be more efficient if you want to only check a few things and don't want to care about overlapping images.
The functions testimg, testnpc etc. should be changed to give the index of the first object found, and also fill an array with the indexes of all objects found on the given position, sorted by the drawing order.
(since the variables can be normal variables and arrays at the same time it might be useful, and it would be compatible with old scripts).
Reply With Quote