|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
|
|
Page 1 of 1
|
[ 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
|
|