|
Axe Software Forums
Quest Developer Forum Seeking advanced help
|
Author | Topic: Seeking advanced help |
Horizon_X |
posted 29-11-2000 01:23 GMT
Hi.. I was wondering how to do something in quest. I was wondering how to make an item that would be able to attach on to another item. Ex - Socketed weapons and gems that could fit into slots, bladed objects that could be attached to the end of a staff, etc., etc. |
MaDbRiT |
posted 29-11-2000 09:22 GMT
Hi There The way I would approach this is to use several objects and swop them about as needed.. take for instance a knife, broomhandle & ball of string that could allow a sort of 'spear' to be fabricated by binding the knife to the broomhandle. I would set up the three individual components. knife, broomhandle and string as regular Quest objects.. then set up a 'spear' object in the same way but have it hidden. Now a simple command can be coded - say 'bind knife to broomhandle' this would need to check that the player had the knife, string and broomhandle and if so, the spear object is coded to appear, replacing the three component objects which are made to disappear.. breaking the spear would be coded to make the 'spear' object disappear and its component parts re-appear. Basically this idea can be used and expanded as required and isn't too hard to code. If would be of help, ask here and I will code a demo of the above for you. Good luck Da MaDbRiT |