The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Saving information in one tag
Author Message
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #1
Saving information in one tag
I would like to remove/forbid the recall spell and use teleports like in Elder Scroll IV: Oblivion.

But I'm not sure, how to save it. My idea is to set "tag.teleport" on a player and every entrance to a dungeon would be represented with something (that's what I need help with). I thought, by letters from A to Z - the whole alphabet. As the player enters the region of the entrance to a dungeon the trigger on=@enter fires and checks whether the player's tag.teleport contains the letter.

The main portal will be in a town. As the player goes thought the world, he/she finds the entrances etc. and in the moment he/she finds it, he/she can teleport from the town to the dungeon.

The problem is, the alphabet has only 26 chars, it means only 26 possible teleports.

Don't you know a similar trick with numbers, or something like that?
For example 1.dungeon represents number 1, 2.dung number 2.
If the tag is 0 => the player hasn't found neither the first dung nor the second.
If the tag is 1 => the player has found the first one.
If the tag is 2 => found only the second one.
If its 3 => found both.

Hope you understand what I mean.
(This post was last modified: 07-11-2013 05:09 AM by Alaric.)
07-11-2013 05:04 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Saving information in one tag - Alaric - 07-11-2013 05:04 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)