SetConveyorBeltVelocity - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 10:54, 18 March 2016 by imported>Arthmoor (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Sets a conveyor belt velocity in local-space. == Syntax == <source lang="papyrus"> Funct...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets a conveyor belt velocity in local-space.

Syntax[edit | edit source]

Function SetConveyorBeltVelocity( float afLinVelX, float afLinVelY, float afLinVelZ ) native

Parameters[edit | edit source]

  • afLinVelX: New local-space linear velocity on the x-axis.
  • afLinVelY: New local-space linear velocity on the y-axis.
  • afLinVelZ: New local-space linear velocity on the z-axis.

Return Value[edit | edit source]

None

Examples[edit | edit source]

Event OnActivate(ObjectReference aSource)
  Self.SetConveyorBeltVelocity(0.5,1.0,0.0);
EndEvent

Notes[edit | edit source]

  • This fails gracefully. If no conveyor belt exists on the object it does nothing. No results are returned.

See Also[edit | edit source]