Forum

Weapon Event Triggering.

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Weapon Event Triggering.

Postby Team Xlink » Fri Jul 17, 2009 7:22 pm

Solved.
Last edited by Team Xlink on Tue Nov 17, 2009 2:23 am, edited 1 time in total.
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Postby Electro » Fri Jul 17, 2009 10:34 pm

stuffcmd(other, "chase_active 2\n");
Benjamin Darling
http://www.bendarling.net/

Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
Electro
 
Posts: 312
Joined: Wed Dec 29, 2004 11:25 pm
Location: Brisbane, Australia

Postby Team Xlink » Fri Jul 17, 2009 10:39 pm

Wait so if I put:

stuffcmd(other, "chase_active 2\n");

In my Engine Weapon's routine it will change to chase cam when you switch to that weapon or pickup that weapon?

Or should I put it in the QC?
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Postby MeTcHsteekle » Sat Jul 18, 2009 1:51 am

in the QC :) im sure this time
bah
MeTcHsteekle
 
Posts: 399
Joined: Thu May 15, 2008 10:46 pm
Location: its a secret

Postby Team Xlink » Mon Jul 20, 2009 11:22 pm

What if I wanted to call an impulse command when I pickup that weapon? Would I do the same thing?
Team Xlink
 
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

Postby Electro » Mon Jul 20, 2009 11:39 pm

Yep

stuffcmd(other, "impulse 2\n");
Benjamin Darling
http://www.bendarling.net/

Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
Electro
 
Posts: 312
Joined: Wed Dec 29, 2004 11:25 pm
Location: Brisbane, Australia


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest