Data Realms Fan Forums
http://45.55.195.193/

Gibbing according to material
http://45.55.195.193/viewtopic.php?f=73&t=14769
Page 1 of 1

Author:  whitty [ Tue May 19, 2009 1:40 am ]
Post subject:  Gibbing according to material

Basically, How do I make something gib if it is a certain material?

Code:
function Create(self)
      for actor in MovableMan.Actors do
         if actor.Material == "material name"
               actor:GibThis()
               end
         end
      end
end


Something like that?
This is for a bomb I'm trying to make.

Author:  TheLastBanana [ Tue May 19, 2009 3:15 am ]
Post subject:  Re: Gibbing according to material

Trying to print or otherwise get a material results in a crash right now :-(

Author:  whitty [ Tue May 19, 2009 3:17 am ]
Post subject:  Re: Gibbing according to material

Dammit... There goes my Bio-bomb.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/