Jump to content

Inproper "Light" call from "electrocute" in player's Stategraph


wiefean
  • Pending

I am a modder.

When I tried to apply "Light" on my modded character, I found that the light always disappear if the character gets  electrocuted.

Finally I conclude this as an ANCIENT inproper call from player Stategraph from DS (When wx78 gets light when hit by lightning).

 


Steps to Reproduce

Pic.1:  In "wx78.lua" file, it says the tag is used to prevent light being disabled from Stategraph.

1.png.ebf1f05b0297dcb41ab850cf59b15c63.png

 

 

Pic.2~3: In "SGwilson.lua" file, the light is enabled / disabled as FX in State "electrocute" and only here done. But why not spawn prefab instead, just like Pic.4.

2.png.428441124114254d7c3d5bfba9920fd4.png3.png.d7ea79d4752a70f4d4dcf28c0b2e46e7.png

 

 

Pic.4: Also in "SGwilson.lua" file, the proper way to make FX.

4.png.0c5542622f04fbe2a065ed80465a7ab1.png




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...