Armor class in FPS Example
by QSquid · in Torque Developer Network · 02/23/2007 (3:52 pm) · 1 replies
I have been working with different scripts for a while now and have come upon something that seems odd to me. I am using className="Armor"; for my player class. And then assigning the Armor::onCollision() event to work for some inventory code I am doing. But what is Armor? At first I thought it was a class defined in the engine so I didn't worry about it. I was poking around the engine source code today and could not find any reference of this armor class. Could somone fill me in on how exactly this works?
Torque Owner Nick Wagner
I believe that it was intended to be a way to designate different player "classes".
example: "armor" class can't pick up a "heavy armor" item.
that's my guess anyway. I'm sure someone else can answer better than i.