[DiscordArchive] Can't you just have a flag, boolean or whatever, that tells the state of the bonfire? And then whene
[DiscordArchive] Can't you just have a flag, boolean or whatever, that tells the state of the bonfire? And then whene
Archived author: swagkhalifa • Posted: 2023-12-12T20:16:26.694000+00:00
Original source
Can't you just have a flag, boolean or whatever, that tells the state of the bonfire? And then whenever the fire gets lit/unlit you just swap that flag?
Archived author: swagkhalifa • Posted: 2023-12-12T20:19:10.273000+00:00
Original source
if (bonfireLit && HordeZone) then ActivateHordeZoneBuff(), vice versa
Archived author: sudlud • Posted: 2023-12-12T20:19:48.165000+00:00
Original source
Yes something like that is the current plan, static global Boolean flags, seperated per map, player script just reads and the bonfires write the flag
Archived author: sudlud • Posted: 2023-12-12T20:20:07.063000+00:00
Original source
Currently trying to make it work
Archived author: Revision • Posted: 2023-12-12T20:20:12.028000+00:00
Original source
I guess if you say they should be active to start with, it just has to be set to true by default
Archived author: sudlud • Posted: 2023-12-12T20:20:29.950000+00:00
Original source
Yes
Archived author: sudlud • Posted: 2023-12-12T20:20:35.194000+00:00
Original source
So no need to set active anymore
Archived author: Revision • Posted: 2023-12-12T20:20:59.642000+00:00
Original source
By active I mean they should be "lit" to start with so that players get the buff
Archived author: sudlud • Posted: 2023-12-12T20:21:20.361000+00:00
Original source
Yes correct, default on event start is all fires active / burning
Archived author: sudlud • Posted: 2023-12-12T20:21:31.289000+00:00
Original source
So you must visit the fire and extinguish it to flip the flag