From b93d54401b0d381bcb06b72ec9d4706720761dc7 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Sat, 13 Dec 2003 03:46:49 +0000 Subject: [PATCH] enabled, volume for AmbientSound --- direct/src/level/EntityTypes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct/src/level/EntityTypes.py b/direct/src/level/EntityTypes.py index 00d012e8f1..4033c47efb 100755 --- a/direct/src/level/EntityTypes.py +++ b/direct/src/level/EntityTypes.py @@ -124,6 +124,8 @@ class AmbientSound(Nodepath): type = 'ambientSound' attribs = ( ('soundPath', '', 'bamfilename'), + ('volume', 1, 'float', {'min':0,'max':1}), + ('enabled', 1, 'bool'), ) class PropSpinner(Entity):