S&box Wiki

Sandbox.ModelEntity.OnCarryStart

Syntax

void OnCarryStart( Sandbox.Entity carrier )

Description

Allow the entity to do what it wants when it's added to the inventory. Default behaviour is to add the target entity as a parent and stop moving.

Arguments