Items

Yuecake
Hello everyone!

I am needing a little help with something. I am setting up a puzzle in the game where the player needs to show 4 items in a certain order to an NPC. So they need to show card 1, then card 2, then card 3, then card 4 - then afterwards the NPC will unlock an exit. But they're not giving them the cards, the player will keep them after showing.

Any idea how to go about doing this?

Many thanks,
Yuecake

sgreig
I would think the way to do this would be to create a custom show command, and then the write the scripts from there.

Alex
Yes, as sgreig says you'll probably want a show command with a pattern like:


show #object1# to #object2#


Then object2 can have a string list attribute defining a particular "show" order, and an integer attribute which keeps track of where in the list the player has got to.

Yuecake
That is excellent thank you very much :)

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums