SCR_BaseTriggerEntity { ID "5CF40BABD5C7CD73" components { RplComponent "{5CF40BAF9E019340}" { } } coords 918.527 39.011 2662.341 userScript " "\ " // This just filters for players"\ " override bool ScriptedEntityFilterForQuery(IEntity ent) {"\ " SCR_ChimeraCharacter cc = SCR_ChimeraCharacter.Cast(ent);"\ " if (!cc) return false;"\ " if (!IsAlive(cc)) return false;"\ " return true;"\ " }"\ " "\ " // This fires when a player enters the trigger"\ " override void OnActivate(IEntity ent)"\ " {"\ " if (!Replication.IsServer()) return;"\ " "\ " GetGame().GetCallqueue().CallLater(SendHintRpc, 200, false, \"Global\", \"Hint\", 10);"\ " }"\ " "\ " // This *should* send an Rpc to every client"\ " void SendHintRpc(string a, string b, int c)"\ " {"\ " Rpc(GlobalHint, a, b, c);"\ " }"\ " "\ " // This locally shows a custom hint"\ " [RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]"\ " void GlobalHint(string msg, string hl, int dur)"\ " {"\ " SCR_HintManagerComponent.ShowCustomHint(msg, hl, dur);"\ " }" TriggerShapeType Sphere SphereRadius 10 DrawShape 1 TriggerActivationType "All changes" PeriodicQueries 1 }