Page 1 of 1

Naming Units/Buildings

Posted: 24 Mar 2007, 02:07
by wilic
This would be a fun idea...How bout the ability to personalize units that could be seen by allys as well as enemies for some some good comedic relief?

Simply select the unit and building and use a simple command like like:

.name "trogdor"

It could either list the name as a tooltip (where it says 'enemy unit' it could just add in brackets or something the name) - this would probably be easiest - or it could some how artistically "brand" the unit or building with letters that could be seen by zooming in. The first method would probably be much easier.

I mean, being raped by a krogoth is one thing, but if that krogoth is literally named Trogdor it can really put things in perspective. =]

Posted: 24 Mar 2007, 02:39
by trepan
The is possible using the lua SetUnitTooltip() call in SVN code.

Posted: 24 Mar 2007, 02:54
by Ishach
trepan is pretty much the coolest dude

Posted: 24 Mar 2007, 04:48
by Fanger
trepan aside from creating cold fusion, what isnt possible in lua...?

Posted: 24 Mar 2007, 04:55
by Peet
Fanger wrote:trepan aside from creating cold fusion, what isnt possible in lua...?
Havent you seen the svn lately? Rev 3501 "Trepan: added class lua.coldfusion() to the LUA wrapper"