OnObjectStreamIn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
SendChat("What object is this? - "+ model); | SendChat("What object is this? - "+ model); | ||
} | } | ||
</source> | </source>| | ||
relfuncs=*[[OnObjectDestroyed]] | relfuncs=*[[OnObjectDestroyed]] | ||
*[[OnObjectUpdate]] | *[[OnObjectUpdate]] | ||
*[[IsObjectStreamedIn]] | *[[IsObjectStreamedIn]] | ||
*[[GetObjectModel]] | |||
*[[SendChat]] | |||
}} | }} | ||
Latest revision as of 08:53, 14 November 2023
Description:
Called when an object is streamed in for npc.
Parameters:
( objectId )
objectId : The ID of the object
Return Values:
This function does not return any specific values.
Example
function OnObjectStreamIn(objectId)
{
local model=GetObjectModel(objectId);
SendChat("What object is this? - "+ model);
}Related Functions
The following functions may be helpful as they relate to this function in one way or another.