RPettan said:
My questions:
1: How does one place an existing enemy NPC in a map, (what are the necessary flags, events and entity ID's to make an enemy actually do as its supposed to and show up in a map.) Example: Making a bat move up and down, or making an enemy move, or making the enemy entity show up at all
Welcome
I first suggest using Cave Editor. Much easier than Sue's Workshop and Miza in my opinion.
In Cave Editor, find a spot, make sure you have it on Entitie Editor, and right click. Click 'Add Entitie.' Up at the top, go through the items in the Drop Menu until you find the one you want, and click it. Most will act already (i.e. the Bat,) but some you need to use the <ANP function for in the script editor. Just make sure you have the right sprite set. (The Bats is NpcCemet)
RPettan said:
2: How do I create doors that lead the character to another map.
It's quite easy. Make an entitie, don't change anything in the drop menu, you want it to be 'Nothing.' Change the flags to be 2000 (Run script on Interaction) and change the Event to a corresponding event in the script. Go into the script editor. Make an event (the same number as your entitie.) If you don't know how, it's #XXXX where XXXX is a 4 digit number (0096, 0406, 1132) that is bigger than 0079.)) Normally you would do this-
Code:
#XXXX
<PRI<FAOXXXX
<TRAXXXX:YYYY:ZZZZ:WWWW
#XXXX
Event
<PRI
Freezes the game and hides HUD
<FAOXXXX
XXXX is direction. Play around with this.
<TRAXXXX:YYYY:ZZZZ:WWWW
Transports player to another map
XXXX is 4 digit map number
YYYY is 4 digit event to run apon entry to map
ZZZZ is 4 digit X coordinate to transport to
WWWW is 4 digit Y coordinate to transport to
That should be it.
RPettan said:
3: How do I script or make a chest give you an item.
Please, remember i'm a beginner to this, so please try to be patient and understanding.
Thank you.
Oh dear.
I can't make chests work, but Scripts to give you things are kind of easy.
Code:
<PRI<MSGSomething gleams in the dirt...<NOD<CLR<CMU0010<GIT10XX<IT+00XXGot the =Silver Locket=.<WAI0160<NOD<CLO<END
<MSG
Puts a message on the screen.
<NOD
Freezes script until player presses a button
<CLR
Clears message box
<CMU0010
Changes music to Get Item music
<GIT10XX<IT+00XX
<GIT shows an image on the screen on an item
<IT+ gives you that item
XX is 2 digit item code
<WAI0160
This is the time it take for the music to time out
<NOD<CLO
Waits for keyboard input, then closes message box
<END
Ends the script
Put that under an event. Make an entitie, give it the 2000 flag, and put in that event.
That should be it.