PDA

View Full Version : WHY WHY WHY??????


usaar33
19th May 2000, 04:51 AM
Now that I have your attention...
Why does no mod coder ever use the HASANIM function of the ACTOR?
I mean Epic doesn't even use it... (only found in actor)
I used it for some stuff and it works wonderfully...
SO mod builders...USE THE FUNCTION (somehow :)) maybe specail animations?

MorituriMax
19th May 2000, 05:39 AM
Well, for those of us out here who have never used it, and have no idea what HASANIM means, WHAT does it DO?

http://www.planetunreal.com/images/bullet2.gif
Good. Fast. Cheap. Pick two.

usaar33
20th May 2000, 02:33 AM
what do you think? checks if a mesh has the specified animation
Say you made A MOD of some kind with special animation functions not present in normal UT models...yet you wanted the UT stuff to still work
For instace say you had some animaition called Shield:

you could say in the gametype
If meshactor.hasanim('shield')
Playanim('Shield');
Else
Playanim('Chat2');
see...
so it is useful, but only if you plan on needing to verify if animations exist (as I needed to...)

[This message has been edited by usaar33 (edited 05-19-2000).]