Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Boss battles...going toe to toe

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Sun Jan 23, 2005 2:53 pm    Post subject: Boss battles...going toe to toe Reply with quote

Ok last question. I already have outside battle NPC killing scripts, but how whould I go about making a boss that needs to be hit a few times before death (like in smokey magoo & OHR radius)? Or an invincible NPC that couldn't be killed (say an important script triggering one)? My outside battle script is simliar to the jaimes paige one so it dosen't invove NPC life varibles...
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Mon Jan 24, 2005 7:59 am    Post subject: Reply with quote

You're going to have to completely recode that part of your script. There's no clean way to do that.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Mon Jan 24, 2005 9:38 am    Post subject: Reply with quote

Ack! I don't wanna go back there *points back down to hell*. What about if I had a script that checks if a npc is there and if Not, makes a new one. And I could limit the times it can do this. Can I even do that? And would I start!?

*zombie arm rises from the abyss and drags battleblaze into it*

I back to the drawing board :flamedevil: (they have me now)
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
*Worthy*
Critical Thinker




Joined: 11 Aug 2003
Posts: 186

PostPosted: Mon Jan 24, 2005 10:58 am    Post subject: Reply with quote

You can do a lot of copy-and-pasting to make a boss. Like, copy and paste the scripts that check to see if the NPC is hit. But, instead of killing the NPC, have it decrement a global variable that represents the boss's health. Then, have an "if" statement that checks to see if the boss's health is below 1. If so, then do whatever you want to happen when the boss dies.

So, you don't have to go completely back to the drawing board Rolling Eyes.

~Worthy
_________________
You can do whatever you want...but prison is full of people who make bad decisions.
Back to top
View user's profile Send private message Send e-mail AIM Address
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Mon Jan 24, 2005 2:02 pm    Post subject: Reply with quote

It's still probably more work than you were hoping to do, but it isn't that hard... unless you were hoping to make the enemy larger than one NPC.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Battleblaze
Warrior Thread Monk




Joined: 19 Dec 2003
Posts: 782
Location: IndY OHR

PostPosted: Tue Jan 25, 2005 10:50 am    Post subject: Reply with quote

Thanks, dosen't seem that hard. Instead of NPC death decrement a global boss varible. If the varible hits zerob bye bye boss.
_________________
Indy OHR! and National OHR Month Contest going on now!

"Aeth calls PHC an anti-semite; PHC blames anti-semitism"
-squall
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group