lookup_sequence
- Синтаксис
-
native lookup_sequence(entity, const name[], &Float:framerate = 0.0, &bool:loops = false, &Float:groundspeed = 0.0);
Переменная | Описание |
---|---|
entity |
The entity id to lookup. |
name |
The sequence name to lookup, case insensitive. ("JUMP" would match "jump") |
framerate |
The framerate of the sequence, if found. |
loops |
Whether or not the sequence loops. |
groundspeed |
The groundspeed setting of the sequence. |
- Описание
- Looks up the sequence for the entity.
- Возвращает
- -1 on failed lookup, the sequence number on successful lookup.