OnObjectUpdate

From NPC for VCMP 0.4 Servers
Revision as of 09:06, 14 November 2023 by Habi (talk | contribs) (Created page with "{{Welcome|desc=Called when one of object's position, rotation, alpha is updated or it is moved.| params=<source>( objectId, updatetype)</source> <poem>::objectId : The ID of the object ::updatetype : See below <source>( AlphaUpdate=0, PositionUpdate=1, RotationToUpdate=2, MoveToUpdate=3, TrackingBumpsShots=4)</source> </poem>| relfuncs=*OnObjectDestroyed *OnObjectUpdate *IsObjectStreamedIn }}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
Called when one of object's position, rotation, alpha is updated or it is moved.


Parameters:

( objectId, updatetype)

objectId : The ID of the object
updatetype : See below

( AlphaUpdate=0, PositionUpdate=1, RotationToUpdate=2, MoveToUpdate=3, TrackingBumpsShots=4)


Return Values:
This function does not return any specific values.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.