key
by Robert Carroll · in Torque Game Builder · 10/03/2009 (8:41 pm) · 1 replies
Im really off today, and im new to TGB but how what would I say to make this on#1Key instead of Mouse Up?
==============================================================================================
function SwapImageBehavior::onRightMouseUp(%this, %dstObj, %srcRef, %dstRef, %time, %normal, %
===========================================
contactCount, %contacts)
{
if (isObject(%this.image))
%this.owner.setImageMap(%this.image, %this.frame);
}
==============================================================================================
function SwapImageBehavior::onRightMouseUp(%this, %dstObj, %srcRef, %dstRef, %time, %normal, %
===========================================
contactCount, %contacts)
{
if (isObject(%this.image))
%this.owner.setImageMap(%this.image, %this.frame);
}
About the author
Stay Up all night playing PS3 ;) add me PSN: RCBASEBALL13.
Associate William Lee Sims
Machine Code Games