Hi,
Every time you set a "one use only" npc it's given a "onetime x" tag. I've noticed that x increments by 1 (obviously) to give one use only npcs a unique identifier, but this seems to increment even if the previous number isn't being used anymore.
For example, if I just sit on the "usable only once" line and switch between that and "usable repeatedly" the x in "onetime x" will continue to increment.
Is there a way to get the engine to go back and use unused numbers for that value? Does it even matter? I'm worried that it could be adding unnecessary lines to the code or something, or perhaps there's a hidden limit on one use only npc tags that I'm going to hit.
Cheers
Question about "one use only" NPCs
Moderators: marionline, SDHawk
Question about "one use only" NPCs
vvight.wordpress.com
- Bob the Hamster
- Lord of the Slimes
- Posts: 7660
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
Phew! Thanks.When custom hits the hard limit, it loops back and searches for unused gaps in the sequence automatically
Yea, the first time I noticed it I was like "WHAT ARE YOU DOING?"Even though I don't currently use onetime tags, that's reassuring. My OCD would go bonkers if I skipped over tags like that.
vvight.wordpress.com
- Bob the Hamster
- Lord of the Slimes
- Posts: 7660
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact: