Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

moving items?

18 years ago

Is it possible to move an item to another location?

The player picks up a blaster in chapter one, and drops it when they surrender to enemies in chapter 2, but if they defeat the enemies, I wanted the player to be able to pick the blaster back up again. Since dropping the item returned it to it's starting location, I thought I could just have a link to that page so that the blaster is picked back up again, but the page choices only show pages that are in chapter 2. Is there a way to link to a page that is in chapter 1? Or to move an item so that it appears on a different page?

moving items?

18 years ago

Not yet --  but this is coming soon. Currently DROPPING an item returns it to the original page.

In the future, you will be able to specify the type of drop: Original Page, Current Page, or No Page (gone forever).

moving items?

18 years ago

That will be good, as long as I can access the original page from Chapter 1, I should be able to make it work. All of the player's main inventory items are given to them in Chapter 1, but the actual story takes place in Chapters 2 and above.

moving items?

18 years ago
Anyone notice that his story looks like its gonna rock?

moving items?

18 years ago
Do what JJJ does.  He makes one chapter for the item and then makes links go to that chapter.  Than he puts links that go to the previous page.  You can take it one step further though and do this:

Make a variable called HAVEITEM or something.  The first time the item is taken make it add 1 to it.  Than put in something like this:

%%HAVEITEM%=%0%You have found this item!%%

%%HAVEITEM%=%1%You found the item you dropped!%%

Get rid of the enters or you'll see this for Haveitem equaling 1:

-------------------

You found the item you dropped!
-------------------

moving items?

18 years ago
Thanks man, good ideas.  Except I dont have item dropping enabled. I might make it so you can have say a maximum of five weapons on you.

moving items?

18 years ago
Ahah! I didn't think of using a chapter for a single page, and making it solely a pickup the item page. That completely solves my problem! Hoorah!

moving items?

18 years ago
Now he's gonna win for sure...

moving items?

18 years ago
Awesome. Can't wait!

moving items?

18 years ago

seriously. i cant wait either. it would rock being able to drop something and find it there back on that same page. so much more realistic that way.

nate

moving items?

18 years ago
That's how it is.

moving items?

18 years ago
No it isn't.

moving items?

18 years ago
Sounds like a good game so far. Good luck with it. It'd be awesome also if you could pick up items in multiple locations. I dunno if you can already do this.