FAQ  •  Register  •  Login

custom monster macros n stuff - crash?

Moderator: Inside3D Admins

<<

ceriux

User avatar

Posts: 1852

Joined: Sat Sep 06, 2008 3:30 pm

Location: Florida, USA

Post Wed Mar 21, 2012 5:35 am

custom monster macros n stuff - crash?

hey this compiles fine and everything, but why does it cause quake to crash after the map loads?

  Code:
void()   army_walk1   =[   $run1,      army_walk2   ] {
if (random() < 0.2)
   sound (self, CHAN_VOICE, "soldier/idle.wav", 1, ATTN_IDLE);
ai_run(11);};
void()   army_walk2   =[   $run2,      army_walk3   ] {ai_walk(15);};
void()   army_walk3   =[   $run3,      army_walk4   ] {ai_walk(10);};
void()   army_walk4   =[   $run4,      army_walk5   ] {ai_walk(10);};
void()   army_walk5   =[   $run5,      army_walk6   ] {ai_walk(8);};
void()   army_walk6   =[   $run6,      army_walk7   ] {ai_walk(15);};
void()   army_walk7   =[   $run7,      army_walk8   ] {ai_walk(10);};
void()   army_walk8   =[   $run8,      army_walk1   ] {ai_walk(8);};
QuakeDB - if you have any cool quake video's please feel free to upload them on my moddb group!
<<

Supa

User avatar

Posts: 154

Joined: Tue Oct 26, 2004 8:10 am

Post Wed Mar 21, 2012 5:44 am

Re: custom monster macros n stuff - crash?

Is there a reason for why you are calling ai_run in an idle walk sequence?
aut viam inveniam aut faciam
<<

ceriux

User avatar

Posts: 1852

Joined: Sat Sep 06, 2008 3:30 pm

Location: Florida, USA

Post Wed Mar 21, 2012 5:46 am

Re: custom monster macros n stuff - crash?

right as i posted that (after searching though for like 30 mins) i found it -.- it wasnt supposed to be but i guess i overlooked it. thanks i was going to delete this but i figured it out. thanks for your quick reply.
QuakeDB - if you have any cool quake video's please feel free to upload them on my moddb group!

Return to QuakeC Programming

Who is online

Users browsing this forum: Spike and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft