View unanswered posts | View active topics It is currently Thu Dec 26, 2024 6:03 pm



Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
 How would I use key commands? Stopping an actor gibbing. 
Author Message
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Reply with quote
Post Re: How would I use key commands? Stopping an actor gibbing.
Thanks, although back then I wasn't too good at modding, but hopefully now I can finally finish it.

Code:
   
function Update(self)
   if UInputMan:KeyReleased(6) then
   ToDelete = true
   local respawn2 = CreateAHuman(Parkour Runner)
   MovableMan:AddParticle(respawn2)
   end
   end


Comes up with an error in console:
Attachment:
ScreenDump042.png [834 Bytes]
Not downloaded yet


So, here's the mod, so far.

Attachment:
Parkour.7z [1.92 MiB]
Downloaded 118 times


I fixed the sprites on the runner and changed some things.


Sat Dec 11, 2010 3:10 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: How would I use key commands? Stopping an actor gibbing.
Code:
self.ToDelete = true


Mon Dec 13, 2010 12:29 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page Previous  1, 2

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.069s | 14 Queries | GZIP : Off ]