On [URL="http://wiki.garrysmod.com/page/Enums/ACT"]the wiki page for the player animation enumerations[/URL], there are at least a few missing; the main one(s) I need are the [URL="http://img.maxofs2d.net/gif/gmod_death_01.gif"]death animation[/URL] enum numbers.
Does anyone know the numbers for them?
Some of the animations simply don't have activities associated with them - there are several hold types like this as well.
You can reference them in a roundabout way:
[code]
local seq, act
seq = ent:LookupSequence( "sequence" )
act = ent:GetSequenceActivity( seq )
[/code]
But I wouldn't trust the output to be consistent.
[QUOTE=Kogitsune;43669225]Some of the animations simply don't have activities associated with them - there are several hold types like this as well.
You can reference them in a roundabout way:
[code]
local seq, act
seq = ent:LookupSequence( "sequence" )
act = ent:GetSequenceActivity( seq )
[/code]
But I wouldn't trust the output to be consistent.[/QUOTE]
Yes, but there are indeed some ACTs that are unlisted, I really need to revalidate everything on wiki.
Well I would love to know the unlisted acts
For instance, there are several death acts, but only one named (ACT_GMOD_DEATH).
If we had the ENUMS we could possibly call the exact one we want, such as the headshot animation when you got killed via a headshot.
[QUOTE=Lucky9Two;43674607]For instance, there are several death acts, but only one named (ACT_GMOD_DEATH).
If we had the ENUMS we could possibly call the exact one we want, such as the headshot animation when you got killed via a headshot.[/QUOTE]
Well, these ENUMS must be stored somewhere in the game files...
[QUOTE=AnonTakesOver;43675555]Well, these ENUMS must be stored somewhere in the game files...[/QUOTE]
They are, I believe, stored as integers. Not strings. So they would be a set of numbers and not ACT_ETC.
Sorry, you need to Log In to post a reply to this thread.