Author Topic: a setscale XYZ that effects bots too  (Read 762 times)

for some reason the copy i have doesn't effect bots, but it would be really useful if it did, for a tower defense i'm making

here's the DL, i couldn't find it with search (i just uploaded to mediafire): http://www.mediafire.com/?nkgit4lhbmf

I'm not going to bother packaging this
Code: [Select]
registerOutputEvent(Player, "SetScaleXYZ", "float 0.2 5 0.1" TAB "float 0.2 5 0.1" TAB "float 0.2 5 0.1");

function Player::SetScaleXYZ(%this, %x, %y, %z)
{
   %this.setScale(%x SPC %y SPC %z);
}

just put that into the server.cs? replace all that's there with that?

btw, nice teapot :D

Yeah, server.cs and description.txt in a .zip.

thanks, i did that right after i posted and it's working well :D