Data Realms Fan Forums http://45.55.195.193/ |
|
Inventory http://45.55.195.193/viewtopic.php?f=73&t=14903 |
Page 1 of 1 |
Author: | mail2345 [ Sun May 24, 2009 8:18 am ] |
Post subject: | Inventory |
From the point of view of an actor and an inventory item working togerther, is there any way to determine if the item is out? |
Author: | Grif [ Sun May 24, 2009 4:56 pm ] |
Post subject: | Re: Inventory |
Well any script you have running on the gun will stop running once you're holding it. If that helps. |
Author: | mail2345 [ Sun May 24, 2009 5:13 pm ] |
Post subject: | Re: Inventory |
From there I guess I could have a timer constantly reset by the gun. The actor checks the timer, and if it's over something reasonable, it knows it's holding the gun. |
Author: | Grif [ Sun May 24, 2009 8:01 pm ] |
Post subject: | Re: Inventory |
Except it'd have to be a global timer so any other instances of the gun would ♥♥♥♥ it up. |
Author: | mail2345 [ Sun May 24, 2009 8:17 pm ] |
Post subject: | Re: Inventory |
The gun sets the timer on the nearest actor with the timer. As long as the two actors don't get too close, it should work. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |