View unanswered posts | View active topics It is currently Thu Dec 26, 2024 4:41 am



Reply to topic  [ 5 posts ] 
 Inventory 
Author Message
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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?


Sun May 24, 2009 8:18 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Inventory
Well any script you have running on the gun will stop running once you're holding it.

If that helps.


Sun May 24, 2009 4:56 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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.


Sun May 24, 2009 5:13 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Inventory
Except it'd have to be a global timer so any other instances of the gun would ♥♥♥♥ it up.


Sun May 24, 2009 8:01 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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.


Sun May 24, 2009 8:17 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.055s | 13 Queries | GZIP : Off ]