Game Development Community

Triggering player animations....

by Lane Anderson · in Torque Game Engine · 10/20/2005 (6:00 pm) · 0 replies

Hey,


What I need is for the player object to play a certiain animation when I click the LMB.
How do I go about this? I'm gueesing the following code from default.bind.cs is what I need to start with:

function mouseFire(%val)
{
$mvTriggerCount0++;
}



Thanks in advance,

Lane