- INTERACTION_NPC_2 = 5
- local interaction = {}
- interaction.name = "Roger 'Toodles' Stegham"
- interaction.model = Model("models/humans/group02/male_04.mdl")
- interaction.sequence = "luggageidle"
- interaction.angle = Angle(0, 0, 0)
- interaction.position = Vector(7222.4526, -7376.6777, -1263.9687)
- function interaction:Start(entity)
- dusk:SetInteractionFOV(entity, true)
- local interactionPanel = vgui.Create("dusk_interaction")
- interactionPanel:SetDialog("Oh god did you hear that!")
- --interaction.sequence = "Fear_Reaction"
- --Set new animation sequence here
- interactionPanel.OnDialogClick = function(self)
- self:AddOption("I didn't hear anything.", function()
- --interaction.sequence = "Fear_Reaction_Idle"
- --Set new animation sequence here
- interactionPanel:SetDialog("I keep hearing people scream!\nThey are asking for my help.")
- interactionPanel.OnDialogClick = function(self)
- interactionPanel:SetDialog("Sometimes at night I sneak up there you know.")
- interactionPanel.OnDialogClick = function(self)
- self:AddOption("Sneak where?.", function()
- interactionPanel:SetDialog("I sneak through the hole in the garage floor.\nThings are strange there.")
- interactionPanel.OnDialogClick = function(self)
- interactionPanel:SetDialog("Sometimes when I see them running for me, I like to go swimming.")
- interactionPanel.OnDialogClick = function(self)
- interactionPanel:SetDialog("[Roger slams the vending machine]")
- interactionPanel.OnDialogClick = function(self)
- interactionPanel:SetDialog("Where is my fucking booze!")
- interactionPanel.OnDialogClick = function(self)
- self:AddOption("It's alright just take it easy man.", function()
- interactionPanel:SetDialog("They promised me my booze, I am going to loose it.")
- interactionPanel.OnDialogClick = function(self)
- dusk:SetInteractionFOV(entity, false)
- interactionPanel:End(INTERACTION_NPC_2, entity)
- end
- end)
- end)
- self:AddOption("There is no booze in there you lunatic!", function()
- interactionPanel:SetDialog("Just get me a fucking drink you punk!")
- interactionPanel.OnDialogClick = function(self)
- dusk:SetInteractionFOV(entity, false)
- interactionPanel:End(INTERACTION_NPC_2, entity)
- end
- end)
- end
- end
- end
- end
- self:AddOption("Your fucking crazy.", function()
- dusk:SetInteractionFOV(entity, false)
- interactionPanel:End(INTERACTION_NPC_2, entity)
- end)
- end)
- end
- end
- end)
- end
- end
- dusk:AddInteraction(INTERACTION_NPC_2, interaction)