AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Playing A Model's Sequence (https://forums.alliedmods.net/showthread.php?t=16831)

GHW_Chronic 08-21-2005 04:36

Playing A Model's Sequence
 
Ok, need to play the idle sequence in the model i made, here's the line from the .qc file.
Quote:

$sequence idle "sequence60" loop fps 20 ACT_IDLE 1
pretty sure it has something to do with
Code:

entity_set_int(ent[i],EV_INT_sequence,?)

Freecode 08-21-2005 04:54

pretty funny how u answered your own question

GHW_Chronic 08-21-2005 11:16

see the "?"

What goes in the "?"

GHW_Chronic 08-21-2005 11:29

entity_set_int(id,EV_INT_gaitsequence,ACT_IDL E)

Pretty Sure Thats it, or

entity_set_int(id,EV_INT_gaitsequence,idle)

gonna go find out...NOW i answered my own question

GHW_Chronic 08-21-2005 13:14

neither worked, someone who knows what they're doing, help plz :'(

Twilight Suzuka 08-21-2005 13:28

Oh god... ACT_IDLE is a NUMBER. You need to FIND that number, and put it into your AMXx code.

ACT_IDLE is probably, no definitely, a define which defines it to be a number. You can use ACT_IDLE, but you need to add the define as well.

GHW_Chronic 08-21-2005 13:30

Code:

#define ACT_IDLE    1

entity_set_int(ent[i],EV_INT_gaitsequence,1)

Correct?

Twilight Suzuka 08-21-2005 13:31

What do YOU think? Maybe you should TRY it before attempting to get MORE help?

GHW_Chronic 08-21-2005 13:32

yes ma'am

GHW_Chronic 08-21-2005 14:03

that did not work. I don't know if it actually has something to do w/ ACT_IDLE. I think it should have something to do with the "idle"


All times are GMT -4. The time now is 14:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.