Spoon's response is unfortunately invalid. The "npc at spot" command returns an npc reference. Not an ID.
All references are negative numbers and refer to individual instances of npcs on the map. -300 to -1. Therefore, his above code above will always be false.
Search found 259 matches
- Mon Feb 14, 2022 11:54 pm
- Forum: Q&A Discussion
- Topic: Is there a way to reference a select range of numbers?
- Replies: 6
- Views: 1643
- Mon Feb 14, 2022 6:59 pm
- Forum: General Discussion
- Topic: The thread of codename suggestions
- Replies: 35
- Views: 7832
Re: The thread of codename suggestions
I'm a big fan of
Jigamaree
Jigamaree
- Mon Feb 14, 2022 6:50 pm
- Forum: Q&A Discussion
- Topic: Is there a way to reference a select range of numbers?
- Replies: 6
- Views: 1643
Re: Is there a way to reference a select range of numbers?
There's other ways to do it of course.
One way is a switch.
This would also let you choose IDs that aren't all neatly in a range.
One way is a switch.
Code: Select all
script, yourscript, begin
variable (id)
id := (get npc id (npc at spot(1, 1)))
switch (id) do (
case (26, 47, 28, 19) show textbox (1)
)
end
- Mon Feb 14, 2022 6:46 pm
- Forum: Q&A Discussion
- Topic: Is there a way to reference a select range of numbers?
- Replies: 6
- Views: 1643
Re: Is there a way to reference a select range of numbers?
I will share one of my little custom commands. In that example (untested): script, var in range, var, min, max, begin if (var >= min && var <= max) then (return (1)) end script, yourscript, begin variable (id) id := (get npc id (npc at spot(1, 1))) if (var in range (id, 6, 9)) then (show tex...
- Mon Feb 14, 2022 6:33 pm
- Forum: Game Discussion
- Topic: Ridiculous/Terrible Games Competition 2022 - The Homage Strikes Back
- Replies: 96
- Views: 16083
Re: Ridiculous/Terrible Games Competition 2022 - The Homage Strikes Back
Yeah, make it a fun roast, not a hit piece. (Kind of seems inevitable *someone's* gonna get their feelings hurt, but ... )
Opting in.
Opting in.
- Sun Oct 24, 2021 12:00 pm
- Forum: Game Discussion
- Topic: OHR "Haunted Halloween" 2021
- Replies: 43
- Views: 10532
Re: OHR "Haunted Halloween" 2021
Block Bonanza OST
- Wed Aug 04, 2021 5:47 am
- Forum: Game Discussion
- Topic: SUMMER SLAM - the next gen of ohr contest
- Replies: 171
- Views: 39381
Re: SUMMER SLAM - the next gen of ohr contest
Video Goose music!
- Sun Aug 01, 2021 5:58 pm
- Forum: Game Discussion
- Topic: SUMMER SLAM - the next gen of ohr contest
- Replies: 171
- Views: 39381
Re: SUMMER SLAM - the next gen of ohr contest
As I recall, everybody who participated in HOTOHR could judge the other games however they wanted but at the end of the day we had to submit a 1-10 score. How we CAME to that 1-10 score was our business. This made it both properly subjective AND organized enough to come out with clear winners. I don...
- Sun Aug 01, 2021 6:30 am
- Forum: Game Discussion
- Topic: SUMMER SLAM - the next gen of ohr contest
- Replies: 171
- Views: 39381
Re: SUMMER SLAM - the next gen of ohr contest
Next contest, leeeet's have an established scoring metric and solid strategy for tabulating it.
- Wed Jul 28, 2021 5:49 am
- Forum: Game Discussion
- Topic: SUMMER SLAM - the next gen of ohr contest
- Replies: 171
- Views: 39381
Re: SUMMER SLAM - the next gen of ohr contest
Hey folks, we had a couple bugs to squash. Feeling really solid, check it out:
viewtopic.php?f=4&t=8251
viewtopic.php?f=4&t=8251
- Sun Jul 18, 2021 7:11 am
- Forum: Game Discussion
- Topic: SUMMER SLAM - the next gen of ohr contest
- Replies: 171
- Views: 39381
Re: SUMMER SLAM - the next gen of ohr contest
It says the deadline was shifted from the 21st to the 25th... I thought it was going to be a full week extension??
- Sat Jul 17, 2021 6:17 pm
- Forum: Game Discussion
- Topic: SUMMER SLAM - the next gen of ohr contest
- Replies: 171
- Views: 39381
Re: SUMMER SLAM - the next gen of ohr contest
I'm certain that finding another impartial judge in a pinch would be better than changing the way the games will be judged. The goal posts on this contest have already been morphed and shifted enough as it is. Look for another backup!
- Wed May 12, 2021 10:39 am
- Forum: General Discussion
- Topic: The Furries (and other origins)
- Replies: 57
- Views: 18724
Fen did a great job. Period. If your issue is furry representation and when and where and how much, and not if it's a great game... I don't wanna speak for Fen, so I'll speak for myself: I understand. But I also think you should stow it and grow up. A game (or any other medium) could have full repre...
- Fri May 07, 2021 10:22 pm
- Forum: General Discussion
- Topic: Minecraft Building Contest!
- Replies: 16
- Views: 6365
- Fri Apr 09, 2021 5:48 pm
- Forum: General Discussion
- Topic: Let's give back to TMC
- Replies: 19
- Views: 6345