-- smart_object - Base script for smart objects that can be imported into worlds and manipulated by the consumer. -- Provides a use_range parameters that determines how close in tiles a user has to be to use this object. -- Set to zero for no range. -- Created by: Thor Alexander -- Created on: 3/17/2008 -- Listens for these triggers: -- configure(user_object) -- use(user_object) -- Broadcasts these triggers: -- none -- Constants -- Script Properties Define Properties() --- Private Properties --- Parameters use_range = 0.0 ExposeProperty('use_range', 'How close does the user need to be to use this smart object (in tiles)?') PersistProperty('use_range') script_description = 'Useable Range' script_long_descriptiong = 'Set a range for how close a user needs to be to this object to use it' end