$type$

This is where all discussion of WC3 mapmaking should be held. This forum exists particularly for mapmaking needs. If you have a question on how something works or have need for some code review, this is the place to put it.
Post Reply
Greenspawn
Keeper of the Keys
Posts: 434
Joined: Fri Jan 18, 2008 4:50 pm
Location: Massachusetts

$type$

Post by Greenspawn » Fri Sep 17, 2010 10:48 am

function blah takes $type$ data returns boolean

If I do this, can I have this function take any data type and utilize it within the function?
Math is # |e^iπ|
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk

Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.

User avatar
Fledermaus
Keeper of the Keys
Posts: 354
Joined: Fri Feb 01, 2008 9:55 am
Location: New Zealand
Contact:

Re: $type$

Post by Fledermaus » Sat Sep 18, 2010 4:26 am

No. $variable$ only works within in a textmacro.

Post Reply

Return to “Custom Map Creation”