#detect player is holding ranged weapon

1 messages · Page 1 of 1 (latest)

grave trout
#

title

analog adder
#

Whats a ranged weap

grave trout
lyric schooner
#

just make an array full of id's of items that you know are ranged.

#

you cannot check the item has the shooter or throwable component

grave trout
#

does script detect other items from addons too?

lyric schooner
grave trout
#

can u get item component from scripts?

lyric schooner
#

you cannot check for these components that make it ranged.

#

another thing is not everyone uses these components, you can make items shoot through scripts without these 2 components.

grave trout
lyric schooner
#

you mean the food component

#

yes, you can get that.

grave trout
lyric schooner
#

no?

#

not every item is a food...

grave trout
#

oh ok

#

thanks

lyric schooner
#

yes.