09-07-2015, 09:24 PM
Hello.
Interesting to know, is there a way to use 'foritems' without actual object? For example, foritems function called by character or item, and search of items going from that object which called function. But is it possile to call function without object? I know coordinates where to start search, and seems i need to create item and call function, but can i do that foritems without creating item? Just somehow to specify coordinates where to start search, or maybe there is other function for such way?
And another question - is there function to check block point on map? For example, table, wall, tree - they are blocking, but floor not blocking, so instead of checking type of each static item on point, i want to check just is that point blocked for movement or not.
Interesting to know, is there a way to use 'foritems' without actual object? For example, foritems function called by character or item, and search of items going from that object which called function. But is it possile to call function without object? I know coordinates where to start search, and seems i need to create item and call function, but can i do that foritems without creating item? Just somehow to specify coordinates where to start search, or maybe there is other function for such way?
And another question - is there function to check block point on map? For example, table, wall, tree - they are blocking, but floor not blocking, so instead of checking type of each static item on point, i want to check just is that point blocked for movement or not.