Raised This Month: $ Target: $400
 0% 

Playing A Model's Sequence


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 04:36   Playing A Model's Sequence
Reply With Quote #1

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,?)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 08-21-2005 , 04:54  
Reply With Quote #2

pretty funny how u answered your own question
Freecode is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 11:16  
Reply With Quote #3

see the "?"

What goes in the "?"
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 11:29  
Reply With Quote #4

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 is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 13:14  
Reply With Quote #5

neither worked, someone who knows what they're doing, help plz :'(
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 08-21-2005 , 13:28  
Reply With Quote #6

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.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 13:30  
Reply With Quote #7

Code:
#define ACT_IDLE    1

entity_set_int(ent[i],EV_INT_gaitsequence,1)
Correct?
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 08-21-2005 , 13:31  
Reply With Quote #8

What do YOU think? Maybe you should TRY it before attempting to get MORE help?
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 13:32  
Reply With Quote #9

yes ma'am
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-21-2005 , 14:03  
Reply With Quote #10

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"
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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