File size: 410 Bytes
b6a38d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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
|