Garry's Mod Wiki

Revision Difference

Entity:LookupSequence#514679

<function name="LookupSequence" parent="Entity" type="classfunc">⤶ <description>Returns sequence ID from its name.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="name" type="string">Sequence name</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">Sequence ID for that name. This **will** differ for models with same sequence names. Will be -1 whether the sequence is invalid.</ret>⤶ <ret name="" type="number">The sequence duration⤶ * 0 if the sequence is invalid</ret>⤶ </rets>⤶ </function>⤶ ⤶