Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void OnStart()
- {
- AddEntityCollideCallback("Player", "AreaCollideVoice", "Dialogue", true, 1);
- }
- void Dialogue(string &in asParent, string &in asChild, int alState)
- {
- AddEffectVoice("dialogue1_1", "", "Dialogue", "Talk1_1", true, "AreaVoice", 5, 10);
- AddEffectVoice("dialogue1_2", "", "Dialogue", "Talk1_2", true, "AreaVoice", 5, 10);
- AddEffectVoice("dialogue1_3", "", "Dialogue", "Talk1_3", true, "AreaVoice", 5, 10);
- AddEffectVoice("dialogue1_4", "", "Dialogue", "Talk1_4", true, "AreaVoice", 5, 10);
- SetEffectVoiceOverCallback("VoiceDone");
- }
- void VoiceDone()
- {
- SetPropHealth("mansion_2", 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement