myspace / Lua /ActionFX.lua
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
410 Bytes
DefineClass.ActionFXVR = {
__parents = {"ActionFXObject"},
properties = {
{category = "VR", id = "EventType", default = false, editor = "dropdownlist", items = PresetsCombo("VoiceResponseType") },
{category = "VR", id = "Force", default = false, editor = "bool"},
},
fx_type = "VR",
}
function ActionFXVR:PlayFX(actor, target, action_pos, action_dir)
PlayVoiceResponse(actor, self.EventType)
end