Weapons description in script??
by Donnie Hutson Jr · in Torque 3D Professional · 03/20/2014 (8:18 am) · 3 replies
ok, I have it like this and I get the name of the weapon easy;
however, i'd like to have the description thats already set in my weapons file....
thanks in advance.....
%curWeapon = %sourceobject.getMountedImage($WeaponSlot).Item.getName();
however, i'd like to have the description thats already set in my weapons file....
description = "M4a1dx with Advanced Combat Scope";
thanks in advance.....
About the author
Electrical Engineer by trade, Computer geek by night. Still learning and loving every minute.
Torque Owner Richard Ranft
Roostertail Games
Use that to set the text.