#WaterGunLib

45 messages · Page 1 of 1 (latest)

meager crest
#

About

Created most likely only for MonesMonesowicz but might be used by other creators

Features

TeleportTarget.cs

  • Allows teleporting local PlayerControllerB to a desired destination + Customizing sounds

ToxicGas.cs

  • Allows creating a damage per delay collider with customizable DeathAnimation, DeathType, Delay, Damage

https://thunderstore.io/c/lethal-company/p/WaterGun/WaterGunLib/

lethal nebula
#

the smallest library I've ever seen

whole bone
#

The PowerGenerator script is not working it won't shut off the lights, also can the lights be in a Perfab?

lethal nebula
#

nothing was changed so it's not the script's fault

whole bone
lethal nebula
#

so what's the problem?

whole bone
#

It does not fail even tho I have it checked and at 100

#

Does the number have to be a 0 - 1 value?

lethal nebula
#

huh

meager crest
#

you can convert it through code

whole bone
meager crest
#

to add every light from a prefab

whole bone
meager crest
#

so whats the issue?

whole bone
meager crest
#

weird i did not encounter that on mones moons

whole bone
lethal nebula
whole bone
lethal nebula
#

15 = 15% chance

#

i think

meager crest
#

it will almost never fail cuz i wrote the script wrongly

#

bigger number less chance to fail

whole bone
#

add that to the description on the page or update.

meager crest
#

if you want a guarrante to fail then set it to 1

#

but it will just never set the lights on

#

if you want 50/50 set to 2

whole bone
#

I want a 30% chance to fail so what would that be?

meager crest
#

3 would set it to 33% which is the closest you want

whole bone
meager crest
#

ill probably need to fix that

whole bone
meager crest
#

it will never trigger

#

if you set it to 1

whole bone
#

"if you want a guarrante to fail then set it to 1"

meager crest
#

fail = no lights trigger

#

which means they wont enable or disable

#

if you want them to start disabled like in asteroid

#

just disable the component

whole bone
#

I want them to turn off when it fails.

meager crest
#

You will need to add a custom behaviour