Content tagged operator

7 usages of this tag
  • 9 replies
  • 1.28K views
This content is deleted
Forum Topic
Operater as variable
Not favoritedFavorited Favorited 0 favourites

Got 4 variables. A : Random number. B : Random string operator (+-*/). C : Random number. D : How do I get the calculation of A & B & C ? Thanks in advance.

  • 2 replies
  • 949 views
This content is deleted
Forum Topic
Blackmarked Desert - Adventures of a Merchant
Not favoritedFavorited Favorited 0 favourites

That's my latest project, called "Blackmarked Desert". You control a desert merchant, wandering around ancient cities of the African desert in the year 450. On...

  • 3 replies
  • 477 views
This content is deleted
Forum Topic
How do I exclude "&" operator from logical expression?
Not favoritedFavorited Favorited 0 favourites

The problem is I want to write an algorithm within one action only. It looks like this: "!!!"&Variable=5?"Good":"Bad". As a result it always returns "Good", alt...

  • 2 replies
  • 415 views
This content is deleted
Forum Topic
How do I use logical AND to compare strings?
Not favoritedFavorited Favorited 0 favourites

I read the documentation on logical operators which explains that & only works when comparing numbers (and instead concatenates strings). So is there a way to c...

posted 3 years ago
  • 2 replies
  • 476 views
Not favoritedFavorited Favorited 0 favourites

Why doesn't the following evaluate expression work? "find(usage, "/") > 0" returns 1 in console log. And 1 should be "true" right? This doesn't trigger. There's...

  • 24 replies
  • 1.92K views
This content is deleted
Forum Topic
How do I progress dialuge using the operator ?:
Not favoritedFavorited Favorited 1 favourites

When talking to NPCs I want to click on them to bring up the next line of text. I have figured out a way that I like but it's only happening once. My code is-....

  • 2 replies
  • 291 views
This content is deleted
Forum Topic
Is the module operator suppose to return negative values?
Not favoritedFavorited Favorited 0 favourites

I though of using the module operator (%) to prevent angles from going onto negative values when using angle(), but it doesn't do it, even though it works like...