Announcement: Why not try our official idea generator for inspiration when making puzzles?


Caravel Forum : DROD Boards : Architecture : Scripting Question
New Topic New Poll Post Reply
Poster Message
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2525
Registered: 09-10-2004
IP: Logged
icon Scripting Question (0)  

How do I check for a mimic in a given location? Neither "Wait for monster" or "Wait for NPC" seems to work.


04-18-2005 at 04:10 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 865
Registered: 03-01-2005
IP: Logged
icon Re: Scripting Question (0)  
Hmm, it doesn't look like characters can detect mimic movement, sadly. Is it possible to put a trapdoor or something there instead that could be detected? The Wait For Event list has a bunch of potential ideas, but which would or wouldn't work depends on the particulars of the room.
04-18-2005 at 05:06 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Doom
Level: Smitemaster
Avatar
Rank Points: 3340
Registered: 07-05-2004
IP: Logged
icon Re: Scripting Question (+1)  
Make the mimic stay as a character until he needs to be in a certain position and move him around with scripts until that. Then use finally a wait for NPC :)

A B C D --- a b c d
E F G H --- e f g h 
I J K L --- i j k l
M N O P --- m n o p

Wait for Beethro at A -> Move mimic to a
Wait for Beethro at B -> Move mimic to b
Wait for player to face NE -> Mimic face NE
etc...
(You would propably have to make a loop that checks if Beethro is in any of those squares.)

Downside:
1. It's overly tedious to make
2. It's so restricted that it's worthless to use in most places because:
3. If the mimic bumps into something it won't move correctly anymore. (Relative scripts could fix that and make it a lot easier to do.)
4. Adding a wait for mimic would be a better idea than that.
But also...
1. It works with any character... Who wants to see guard/Slayer mimics :)

Finally, I've not tested anything above and I wouldn't be surprised if there's something that won't work...
04-18-2005 at 06:06 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2525
Registered: 09-10-2004
IP: Logged
icon Re: Scripting Question (0)  
Unfortunately, I need to recheck so trapdoor won't work. Plus the mimic is already walking over trapdoors.

A character mimic could work, as long as they still drop trapdoors. Bumping into things is important, but I can maybe see a simple(-ish) way of faking it. Except move-to has to be absolute coordinates, doesn't it? Characters moving are stupid though.. but are they roach-stupid or wubba-stupid? Hmmm.... *investigates*

04-19-2005 at 03:19 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Architecture : Scripting Question
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.