Cloak Staff That Makes The Name Dissapear
by Michael "Triskal" Collins · in General Discussion · 07/15/2003 (7:19 pm) · 4 replies
Hi, for anyof you who have wanted to change the cloak so you cant see the name when you cloak, just open up cloakStaff.cs, and after the %obj.setCloaked(True); type %obj.setShapeName(""); This will make the name dissapear.....but where it says %obj.setCloaked(False); you have to give the elf back its name, but i havent figured out how to do that so i put %obj.setShapeName("Im Nameless!"); This will set the elfs name to Im Nameless!
BTW, if someone knows how to put the original name on the elf after its done cloaking plz tell me!
thx
-Mike
BTW, if someone knows how to put the original name on the elf after its done cloaking plz tell me!
thx
-Mike
About the author
Torque Owner Tyler Turner
%clientName = %obj.getShapeName();
%obj.setShapeName("");
%obj.setCloaked(False);
%obj.setShapeName(%clientName);
I'm pretty sure this won't work, but do some searching for the correct procedure on how to do it. and it should be able to work. You just need to get the client name and store it temporarily.