Difference between revisions of "ScriptEvent:getObject"

From Mod Wiki
 
(No difference)

Latest revision as of 16:50, 5 November 2007

Parameters

string name -- Name of the component to find.

Result

object

Supported By

sdTransport

Comments

  • If no component with the given name can be found, or it doesn't have a script object, the result will be null.

Functionality

Returns the vehicle component with the given name.