Polish arena effects, audio and diagnostics
This commit is contained in:
1 parent
2774e625c1
commit
16a359d4af
28 files changed
+512
-257
No files matched your search
@@ -4,6 +4,8 @@ local rs = game:GetService("ReplicatedStorage")
|
||||
local RunService = game:GetService("RunService")
|
||||
local UI = require(rs:WaitForChild("HunterUI") :: ModuleScript)
|
||||
local Sounds = require(rs:WaitForChild("SniperEffects") :: ModuleScript)
|
||||
local Input = game:GetService("UserInputService")
|
||||
local mobile = Input.TouchEnabled and not Input.KeyboardEnabled
|
||||
local Config = require(rs.CitadelAssaultConfig)
|
||||
local Strings = require(rs.Hunter.Strings)
|
||||
local Hints = require(rs.Hunter.Hints)
|
||||
@@ -114,7 +116,7 @@ local function update()
|
||||
})
|
||||
if pending then table.insert(candidates, pending); pending = nil end
|
||||
local chosen = if Config.HintsEnabled then Hints.pick(hints, candidates, workspace:GetServerTimeNow()) else nil
|
||||
pg:SetAttribute("SiegeHint", if chosen then chosen.text else nil)
|
||||
pg:SetAttribute("SiegeHint", if chosen then (if mobile then Hints.compact(chosen.text) else chosen.text) else nil)
|
||||
|
||||
if zone == "Inside" and previousZone ~= zone then Sounds.sound("SiegeEnter") end
|
||||
if zone == "Inside" and status == "Capturing" and attacking then
|
||||
|
||||
Reference in new issue
Block a user