View unanswered posts | View active topics It is currently Fri Apr 19, 2024 8:51 am



Reply to topic  [ 3 posts ] 
 Gibbing according to material 
Author Message
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post 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.


Tue May 19, 2009 1:40 am
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Gibbing according to material
Trying to print or otherwise get a material results in a crash right now :-(


Tue May 19, 2009 3:15 am
Profile WWW
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Gibbing according to material
Dammit... There goes my Bio-bomb.


Tue May 19, 2009 3:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.056s | 15 Queries | GZIP : Off ]