Get all behaviors
by Larry Jennings II · in Torque Game Builder · 05/19/2012 (7:05 pm) · 3 replies
Can anybody inform me ,or provide a link on how to get all the behaviors attached to a scene object?
About the author
College student interested in serious game dev.
Community Manager Michael Perry
ZombieShortbus
%behaviorCount = %object.getBehaviorCount(); for(%i = 0; %i < %behaviorCount; %i++) { %behavior = %object. getBehaviorByIndex(%i); }