Game Development Community

Arrmor:damage

by gamer · in Torque Game Engine · 06/12/2006 (6:34 pm) · 1 replies

Taken from server/script/player.cs:

Function Armor::damage(%this, %obj, %sourceObject, %position, %damage, %damageType)
is the %position world position of the colision that causes the damage?

#1
06/15/2006 (2:37 am)
As it is being used in player.cs.. yes

On a larger scripting scale it is simply the 4th variable being sent to the function Armor::damage, which could be whatever was passed by the calling script..