Axe Software Forums
  Quest Developer Forum
  Fighting


Author Topic:   Fighting
BeZorek posted 06-01-2002 02:41 GMT     
I'm new to this so take it easy on me if this is a stupid question. Is there any way to get a planned out fight(you know one that one ending is gonna happen anyways) to run. Like the person types attack, and then a script runs that says something like "dragon reals back in pain"ect?
passerby posted 06-01-2002 18:02 GMT          
Yeah, couldn't be easier. Just code the steps as a sequence of events whereever you want them to run. In your case you'd probably have to put them into a command defined for the dragon.
BeZorek posted 06-01-2002 18:59 GMT          
Could you give me an example sequence?
Computer Whizz posted 06-01-2002 21:34 GMT          
Right, this would be a room custom command (just in case he enters this command outside this room!).
So in QDK you look in a room's details and pick custom commands...
The results would be for the message "The dragon reels (SP?) back in pain from the sword and vanishes into thin air! |n WOW!!"
And then you would remover the dragon from the room (by hiding it, or moving it to a "limbo" room).
It really depends on what YOU want to happen.

Computer Whizz