Changing stuff mid-game
codingmasters
29 Oct 2003, 07:31Alex, is there a way to change things while the game is playing?
For example, If I want to change the thing that happens when I look at an object.
Or does this happen with the new script thing?
matthew G
For example, If I want to change the thing that happens when I look at an object.
Or does this happen with the new script thing?
matthew G
Alex
29 Oct 2003, 10:43If you want to change the description of an object during the game, you can either:
1. set that object's "look" up to run a script which will check for a flag etc. In ASL for example you might have "look if flag <whatever> then ... else ...". In QDK set up a conditional script command for the look script.
2. change the object's "look" property or action. e.g. "property look <vase; The vase is in tiny pieces all over the floor>" will change the description of the vase, for example after the player has dropped it. In QDK use the script command to change an object's property and enter the required info.
More details at http://www.axeuk.com/quest/developer/as ... erties.htm
1. set that object's "look" up to run a script which will check for a flag etc. In ASL for example you might have "look if flag <whatever> then ... else ...". In QDK set up a conditional script command for the look script.
2. change the object's "look" property or action. e.g. "property look <vase; The vase is in tiny pieces all over the floor>" will change the description of the vase, for example after the player has dropped it. In QDK use the script command to change an object's property and enter the required info.
More details at http://www.axeuk.com/quest/developer/as ... erties.htm
codingmasters
30 Oct 2003, 02:31Thanks Alex
Matthew G.
Matthew G.