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


Caravel Forum : DROD Boards : Architecture : place mimic with staff in editor (place mimic with staff in editor)
New Topic New Poll Post Reply
Poster Message
Kai
Level: Delver
Rank Points: 34
Registered: 07-27-2005
IP: Logged
icon place mimic with staff in editor (+2)  
im trying to build a level, but my efforts came to an end when i tried to place a mimic with a staff as a weapon.

to be clear: i want the mimic to hold the staff when beethro enters the room, no tokens should be used.

thank you

kind regards
K


01-30-2023 at 08:11 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Doom
Level: Smitemaster
Avatar
Rank Points: 3226
Registered: 07-05-2004
IP: Logged
icon Re: place mimic with staff in editor (+2)  
This can be done with a simple script. Place a Character (bottom-right entry in the monster list) in your room. Set its type to Mimic and tick the box that says 'Visible'. Then add the following commands:
Set var _MyWeapon = 3
Turn into monster
You may also add the following, if you want the mimic to start facing the same way as the player (this should go above 'Turn into monster').
Set var _MyO = _O


[Last edited by Doom at 01-30-2023 08:46 AM]
01-30-2023 at 08:45 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Kai
Level: Delver
Rank Points: 34
Registered: 07-27-2005
IP: Logged
icon Re: place mimic with staff in editor (+2)  
thank you.
not quite as simple as i thought.

is there a good tutorial or a list of all scripting commands?


01-31-2023 at 05:04 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
averagemoe
Level: Smiter
Avatar
Rank Points: 488
Registered: 03-22-2012
IP: Logged
icon Re: place mimic with staff in editor (+1)  
Well, there's a decent list in the game's help files. Press F1 while editing a room and it should be the third link just below the game's title.

____________________________
There are two types of sheep in the world. Those who jump off a bridge when told to, and those who jump off a bridge when told not to. Don't be either.
01-31-2023 at 05:59 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1531
Registered: 06-13-2015
IP: Logged
icon Re: place mimic with staff in editor (0)  
If you just want to directly paste in the code in Doom's post, you can also do that. Copy it into your computer's clipboard, then go into the script editing menu for the character and press ctrl+shift+b (well, on windows anyway; I don't know about other OSes).

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text

02-01-2023 at 04:37 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 : place mimic with staff in editor (place mimic with staff in editor)
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.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.