A Small problem
Jato
23 Nov 2006, 20:44Hi all, I am new to the forums, I remember seeing with QDK before, but never really used it. so now i am embarking on an adventrue to try and make a fantasy MUD. And so far things are going well:
I have sorted out a system for equipping weapons, and unequipping Them. But i wanted to have a window showing what you had wielded. Like a status variable So for the equip command i have the code as follows:
But when i try and equip a weapon it Just crashes, Is there a way to do this without it crashing (i would like to not have to use a command to look at what it is, such as wielding or something, but can if needs be)
oh and the status variable is a local string
Thanks in advance
I have sorted out a system for equipping weapons, and unequipping Them. But i wanted to have a window showing what you had wielded. Like a status variable So for the equip command i have the code as follows:
command <wield #@wep#> if property <#@wep#; equipable> and got <#@wep#> and not flag <wep on> then {
msg <You Equip #@wep#>
flag on <wep on>
property <#@wep#; wielded>
set string <wield; #@wep#>
But when i try and equip a weapon it Just crashes, Is there a way to do this without it crashing (i would like to not have to use a command to look at what it is, such as wielding or something, but can if needs be)
oh and the status variable is a local string
Thanks in advance
Jato
23 Nov 2006, 22:47nevermind i fixed it, I had the string Wield with a Capital W. (i hate typos). Now i just have to work on the impossible - a combat system 
