Combining Created Items
lemonyxlove
07 Jun 2014, 10:11New to using Quest~
I have successfully combined two sets of items to create two new items; however, when I try to combine the two created items together nothing happens or it says they cannot be used this way.
I've tried setting them as visible/invisible, chaning their parent, etc... I'm really not sure what to do.
[Walkthrough for problem:
go east
look cabinet
untie twine
take board
go south
take chopsticks
go west
look fire pit
take geode
look vent
take nest
use nest with board
use chopsticks with twine
use bow drill with platform <<Error: this should create the flaming nest..]
Help anyone?
I have successfully combined two sets of items to create two new items; however, when I try to combine the two created items together nothing happens or it says they cannot be used this way.
I've tried setting them as visible/invisible, chaning their parent, etc... I'm really not sure what to do.
[Walkthrough for problem:
go east
look cabinet
untie twine
take board
go south
take chopsticks
go west
look fire pit
take geode
look vent
take nest
use nest with board
use chopsticks with twine
use bow drill with platform <<Error: this should create the flaming nest..]
Help anyone?

jaynabonne
07 Jun 2014, 12:16The reason why is this:
1) You have an object in your game named "bow drill" that has the scripts attached to it to handle "use", etc. That is a pre-existing object.
2) When the player uses the chopsticks on the twine, you create a *new* object named "bow drill" using create("bow drill"). This replaces your object that has the necessary scripts with a new blank object which does not.
If you get rid of the create's in your code that are replacing your predefined objects, then the existing objects will come into play, and all should be well.
1) You have an object in your game named "bow drill" that has the scripts attached to it to handle "use", etc. That is a pre-existing object.
2) When the player uses the chopsticks on the twine, you create a *new* object named "bow drill" using create("bow drill"). This replaces your object that has the necessary scripts with a new blank object which does not.
If you get rid of the create's in your code that are replacing your predefined objects, then the existing objects will come into play, and all should be well.
lemonyxlove
07 Jun 2014, 13:09Thank you so much! I should have thought to try that... =]