283 {
284 if ( MemoryPointExists( "invView2" ) )
285 {
287 GetInventory().GetCurrentInventoryLocation( il );
289 switch ( type )
290 {
292 {
293 return 0;
294 }
296 {
297 return 1;
298 }
300 {
301 return 0;
302 }
304 {
305
307 return 1;
309 return 2;
310
311
312 return 0;
313 }
315 {
316 return 0;
317 }
318 default:
319 {
321 return 1;
323 return 2;
324
325
326 return 0;
327 }
328 }
329 }
330 return 0;
331 }
InventoryLocationType
types of Inventory Location
static const int TRIGGERED
int GetState()
returns one of STATE_...
static const int DEPLOYED
proto native int GetType()
returns type of InventoryLocation