| View previous topic :: View next topic |
| Author |
Message |
hiroy The Dark One


Joined: 30 Sep 2007 Posts: 703
|
Posted: Sun May 18, 2008 7:37 am Post subject: |
|
|
This gives me a nostalgic Spyro felling kinda.... _________________ Current Project
Egoboo: something [working title]
Preview
Story: Shredded
Chapters planned: None
Scapped
Motivation: 0% |
|
| Back to top |
|
 |
Agent of Dread lolwut?? (Moderator)


Joined: 23 Sep 2007 Age: 11 Posts: 4347 Location: FACEPLANT
|
Posted: Sun May 18, 2008 7:39 am Post subject: |
|
|
I get what you mean, but I don't see how. _________________ FACEPLANT |
|
| Back to top |
|
 |
hiroy The Dark One


Joined: 30 Sep 2007 Posts: 703
|
Posted: Sun May 18, 2008 7:41 am Post subject: |
|
|
I'm weird, so... _________________ Current Project
Egoboo: something [working title]
Preview
Story: Shredded
Chapters planned: None
Scapped
Motivation: 0% |
|
| Back to top |
|
 |
Agent of Dread lolwut?? (Moderator)


Joined: 23 Sep 2007 Age: 11 Posts: 4347 Location: FACEPLANT
|
Posted: Sun May 18, 2008 7:42 am Post subject: |
|
|
XD
Point taken. _________________ FACEPLANT |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2301 Location: Norway
|
Posted: Sun May 18, 2008 10:46 am Post subject: |
|
|
Make this in the monster script.
| Code: |
IfKilled
tmpargument = passage
OpenPassage
Else
tmpargument = passage
ClosePassage
|
_________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3061 Location: Finland
|
Posted: Sun May 18, 2008 10:51 am Post subject: |
|
|
Um... Does that make the door open? I mean, does it work for different monsters? I don't know how to say it, but I mean I mean that if you kill all butchers and zombis in the Catacombs? Does that make it so? _________________
 |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2301 Location: Norway
|
Posted: Sun May 18, 2008 11:19 am Post subject: |
|
|
The script above makes the doors open when the specified monster gets killed. You should either make a check for all monsters dying OR apply it to when a boss monster gets killed (Cobol Captain for example). _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3061 Location: Finland
|
Posted: Sun May 18, 2008 11:33 am Post subject: |
|
|
So... Do I put that script to zombi's and butcher's script in Catacombs 2? _________________
 |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2301 Location: Norway
|
Posted: Sun May 18, 2008 12:02 pm Post subject: |
|
|
Depends on what exactly you want to accomplish. Putting the script above into a Zombi script will make the door open if you kill any Zombi.
I think you want to make a check if when killed and all teammates are dead, the door will open. This solution requires you to make all the monsters who are supposed to be killed to make the door open on a same unique team.
See the vampires and the gate in Abyss module as an example. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3061 Location: Finland
|
Posted: Sun May 18, 2008 12:07 pm Post subject: |
|
|
OK. I'll do that. But I think it is not even possible to do what I want, because I mean that there, in Secret Catacombs I am now making, would open a door if all zombis and butchers would be killed in Catacombs level 2... Is it possible?  _________________
 |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2301 Location: Norway
|
Posted: Sun May 18, 2008 12:18 pm Post subject: |
|
|
With the new quest system it might be. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
woodmouse Skinner


Joined: 19 Apr 2008 Age: 14 Posts: 3061 Location: Finland
|
Posted: Sun May 18, 2008 12:21 pm Post subject: |
|
|
 _________________
 |
|
| Back to top |
|
 |
Maxaxle Elite Gamer


Joined: 06 Oct 2007 Age: 15 Posts: 2717 Location: San Diego
|
|
| Back to top |
|
 |
Agent of Dread lolwut?? (Moderator)


Joined: 23 Sep 2007 Age: 11 Posts: 4347 Location: FACEPLANT
|
Posted: Sun May 18, 2008 9:23 pm Post subject: |
|
|
Hm?  _________________ FACEPLANT |
|
| Back to top |
|
 |
Chainsaw Lumberjack


Joined: 20 Oct 2007 Age: 15 Posts: 2378 Location: Israel
|
Posted: Mon May 19, 2008 12:36 pm Post subject: |
|
|
| Maxaxle wrote: | I just came up with an idea of how to open a door when ONE monster dies: Make it a team that aligns both ways with the other monsters!  |
But why do it that way if you can script it to just that monster?
Also, what if there would be more than one team of monsters? _________________ "To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
 |
|
| Back to top |
|
 |
|