but I've finally decided to ask for help because there are a few things that I can't seem to be able to script properly...if they're even possible at all...
I still don't quite understand scripting...I've gotten lucky a few times and have used individual commands successfully...but when I try to put different commands together it never seems to work out.
So...what I'm trying to do for quests(or at least this quest) is to require a specific quantity of an item.
I have an NPC with a text box, who says something which basically means "You don't have the quest item."
He's supposed to say something like "You got the quest items!" when you get 5 of them...then you get a reward...but that doesn't happen.
I've tried many different things, but I've deleted and re-written it repeatedly.
Currently, it looks like this:
Code: Select all
plotscript, MALLYQUEST1, begin
if (inventory (63) ) then (
show text box (127) # "I thank you for visiting..."
) else (
show text box (242) # "Oh...hello. Why are you loitering..."
)
delete item(63,5)
end
The other thing that's been driving me crazy is that I've been trying to make a "NewGame+" feature similar to the ones in the Tales series(Tales of Symphonia, etc) and Chrono Trigger. I got it to kind of work...but not really. "Reset game" doesn't work...because it erases everything as if no first playthrough ever happened...
One of the major problems is that I have a lot of potential party members...and I tried different ways of getting them to leave the party...but I can't figure out a way to get them all to leave. All party members are optional, so I can't use "delete hero" because I don't know which party members the player will choose. I was hoping to find a "delete all party members" command...but it doesn't seem to exist (at least not yet?)...
Anyway...this is the script I managed to come up with:
Code: Select all
plotscript, newgameplus, begin
reset map state (mapstate:all)
teleport to map (0, 12, 5)
open menu(18)
use door(0) #back to starting map
show text box (168) #opens reward menu
wait for text box
resume player
end
I got all the "perks" to work perfectly fine...just can't figure out how to reset the game without actually having to use "reset game".
Any help/advice would be greatly appreciated!!