Players can use action key ('SPACE' by default)to chop/mine/dig... something. playercontroller components:
function PlayerController:GetToolAction(tool) ...... end
I suggest using the function 'CanEntitySeeTarget' to fix the problem.
Steps to Reproduce
1. waits for the night comes.
2. does not have any light
3. c_give('axe') c_spawn('evergreen_short')
4. Press the action key, you will be able to chop the tree. But you can't see the tree due to darkness.
-
1
-
1
-
1
-
1
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 accountSign in
Already have an account? Sign in here.
Sign In Now