Page 1 of 1

ViewFilter.rar further examples not 100% working

Posted: Wed Sep 10, 2008 6:11 pm
by zoom
ok, it is an old example but I found:
if you kill the char 2 with the switch you can do that often.

if you use eyeswitch "move cursor to char 1 head"
object vanishes when something is already worn on head by char 1

if you then press eyeswitch "move char 1 head to cursor" it
gives you the item you lost before and the thing gets broken.

Well, I am not able to correct it so I post it here without solution.
Is this problematic in some way or does it not matter to anyone?
I also would like to know how to add the special phrases to only
a hand picked number of items, like the apple(on level 2) is special,
no other apples are etc. (you can set conditions to display
phrases and set some items to have special phrases but I do
not grasp that quite fully)..if you don't keep dealing constantly
with this stuff your chances of creating something is slim :roll:
perhaps someone is willing to go through these 2 DSA's step by
step(old/new) whilst maybe correcting the error?

Posted: Thu Sep 11, 2008 7:57 am
by beowuuf
You can check before moving to see if there is something on the party's head - use the 'F' command to see it there is an item. If there is no item, a -1 is returned. Use the 'jump' command to interrupt the eye switch mechanic if there is an item on the party member's head

There are two ways to create a special phrase for only one item. a) hard code the ID number of the item into the DSA description, and only view that text if the item ID matches the item.

b) use a property like 'cursed' 'broken' or a 'charge' number for that unique item that no other item uses.

eg an apple does not use the charge number. Therefore, an apple with a charge number of 1 is unique - have the view filter check the apple for charges, and if it is charged, you use the unique text

Posted: Thu Sep 11, 2008 1:02 pm
by zoom
ah thanks beo! good tip with the charges..
It is really amazing how much you know about
DSAs, RTC relays and dungeons in general ;)

Posted: Thu Sep 11, 2008 7:22 pm
by beowuuf
I have dabbled in the past you know :D