dynamic torch removal
Posted: Thu Apr 23, 2020 4:07 pm
I am trying to remove a torch from a torch holder using script..
I have tried setting the 'hasTtorch' controller component to false but it doesn't work.
Even if I destroy the torch holder and then spawn a new one and set the' hasTorch' controller component to false (as done in the dungeon.lua file) it still doesn't work.
Can anyone tell me how to do this?
I have tried setting the 'hasTtorch' controller component to false but it doesn't work.
Even if I destroy the torch holder and then spawn a new one and set the' hasTorch' controller component to false (as done in the dungeon.lua file) it still doesn't work.
Can anyone tell me how to do this?