Have Weapon
Moderator: InsideQC Admins
2 posts
• Page 1 of 1
Have Weapon
Hello Guys i am new here, i have an question about Quake
Whats say me i have the weapon or not? i am looking in the source and i found this:
STAT_WEAPON i know STAT_ACTIVEWEAPON is that weapon i have curently so hope anyone understand me.
Thank you.
Whats say me i have the weapon or not? i am looking in the source and i found this:
STAT_WEAPON i know STAT_ACTIVEWEAPON is that weapon i have curently so hope anyone understand me.
Thank you.
-

Rikku2000 - Posts: 49
- Joined: Wed Oct 20, 2010 6:33 pm
- Location: Germany
What you found was in the engine, for what you need, you would look in the QC source.
The QuakeC equivalent to what you found in the engine is this:
The QuakeC equivalent to what you found in the engine is this:
- Code: Select all
if (self.weapon == IT_MYWEAPON)
{
// Do Stuff
}
- DusterdooSmock
- Posts: 170
- Joined: Thu Aug 19, 2010 9:58 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest