View Single Post
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-04-2016 , 12:33   Re: [CS:GO] Animating a player model entity
Reply With Quote #9

Quote:
Originally Posted by Bakuryu View Post
Here is the code that worked for me. Mind you like I said it will only do one animation and not a combination of them.

Code:
    int EntIndex = CreateEntityByName("prop_dynamic_override");
    DispatchKeyValue(EntIndex, "model", "models/player/custom_player/legacy/ctm_idf.mdl");
    ActivateEntity(EntIndex);
    DispatchSpawn(EntIndex);
    SetVariantString("move_knife_r");
    AcceptEntityInput(EntIndex, "SetAnimation");
    AcceptEntityInput(EntIndex, "Enable");
Anyone know if its possible do add more than one sequence?
isn't that the solution i gave you which you said didn't work?

https://forums.alliedmods.net/showpo...56&postcount=3

back to the topic.... you can use different animation ongameframe i guess or a timer to change its animation?
__________________

Last edited by 8guawong; 10-04-2016 at 12:34.
8guawong is offline