Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

HAS item / NOT HAS item

18 years ago
I've got a link that I only want to be available if the player doesn't have any weapons. I proceed to set the restrictions so that all weapons are NOT HAS, but when I test the story, the link still shows every time? How do the HAS, NOT HAS options work - can I only have one NOT HAS, or does each weapon restriction have to have its own link or something? Any help please :)

HAS item / NOT HAS item

18 years ago
So you want the suer to only be able to see a link if they have NO items?

HAS item / NOT HAS item

18 years ago
Just not some of the ranged weapon items. I know that I could have a variable to say wether an item has been picked up or not, and do that for each item, then say if variable (for any ranged weapon) = 0 then don't show the link, but I thought it would be simpler (and less variables) to use the HAS NOT option under the Items tab in restrictions.

HAS item / NOT HAS item

18 years ago
Can you add me as a co-author? so I can check it out.  I'l remove myself afterwards.

HAS item / NOT HAS item

18 years ago

LOL - I found the problem!

What I wanted was for it to show only if they DID have the items - and my restrictions made it show only if they DIDN'T have the items, so it was actually doing what it was supposed to - but I was misreading my own option :)

I've got it working now!

HAS item / NOT HAS item

18 years ago
Do you want me to delete this?

HAS item / NOT HAS item

18 years ago
ok

HAS item / NOT HAS item

18 years ago

i wouldnt delete this. too many other people may do the same thing and need this as a possible reference. no need to delete something just cause its solved.

nate

HAS item / NOT HAS item

18 years ago

Fair enough, but not many actually look here.

HAS item / NOT HAS item

18 years ago

unfortunately you are right there. but that could also be said for the articles too. :( however, they are there for helping people who look for it.

nate

HAS item / NOT HAS item

18 years ago
I've heard people mention Articles on the site, where do I find them?

HAS item / NOT HAS item

18 years ago
Click on help and info