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



Reply to topic  [ 4 posts ] 
 Kills instead of height in Body Ladder? 
Author Message
User avatar

Joined: Sun Nov 11, 2007 1:49 pm
Posts: 785
Reply with quote
Post Kills instead of height in Body Ladder?
I copied Body Ladder, renamed it all to Zombie Onslaught, and now I'm going to modify it completely. (I'm not going to release it don't worry)
I just want to know what kills of team 1 is called?

Code:
      --If the player has reached the first checkpoint, award him, but speed up the zombies.
      if self.height >100 and self.checkpoint < 1 then
         --Tell the game that the HEIGHT: message is being interrupted to display this one.
         self.Interrupt = 5000;
         self.InterruptTimer:Reset();
         self:ResetMessageTimer(Activity.PLAYER_1);
                  FrameMan:ClearScreenText(Activity.PLAYER_1);
         FrameMan:SetScreenText("Height of 50 reached!  New weapon: Pistol.  Zombie spawn speed increased!", Activity.PLAYER_1, 0, 5000, false);
         playerActor:AddInventoryItem(CreateHDFirearm("Pistol"));
         ztime = 2750;
         self.checkpoint = 1;
      end


if self.height >100 and self.checkpoint < 1 then
and then probably delte some stuff and.. stuff.

thiiiis needs to be changed


Fri Dec 26, 2008 2:57 pm
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: Kills instead of height in Body Ladder?
Not sure what the code for enemy kills is.
Other than that, though, just change the piece
Code:
if height > <height number>

to
Code:
if <kill variable> > <number of kills>


Fri Dec 26, 2008 10:26 pm
Profile WWW
User avatar

Joined: Sun Nov 11, 2007 1:49 pm
Posts: 785
Reply with quote
Post Re: Kills instead of height in Body Ladder?
Yeah I could figure that. But thanks for the help anyway.


Sat Dec 27, 2008 12:35 am
Profile
User avatar

Joined: Tue Jul 03, 2007 12:33 am
Posts: 1275
Location: Elsewhere.
Reply with quote
Post Re: Kills instead of height in Body Ladder?
Image


Fri Feb 06, 2009 2:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.036s | 14 Queries | GZIP : Off ]