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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select horse
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Select horse
honestly I don't undestand what are you trying to do

but if you have a mounted char and just need to get the reference for its mount, you can use REF1=<FINDLAYER.layer_horse.MORE1>

this will search the mount memory equipped on char (layer 25 = layer_mount), and the memory MORE1 value is the mount UID, so this UID value is passed to REF1 for easy referencing using <REF1.something>

you just need to be careful to check if the mount really exist before call any other check, because if the char is not mounted, REF1 will be empty and will return console error if you try to use <REF1.something>. To avoid this you must first check if REF1 exists, like this:
Code:
REF1=<FINDLAYER.layer_horse.MORE1>
IF (<REF1>)
  IF (<REF1.BODY> == c_llama)
    ...
  ENDIF
ENDIF
02-20-2019 04:04 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Select horse - redblack - 02-14-2019, 03:41 AM
RE: Select horse - redblack - 02-15-2019, 06:22 PM
RE: Select horse - Soulless - 02-19-2019, 09:15 AM
RE: Select horse - redblack - 02-19-2019, 08:32 PM
RE: Select horse - Coruja - 02-20-2019 04:04 AM
RE: Select horse - redblack - 02-21-2019, 02:59 AM
RE: Select horse - redblack - 03-05-2019, 01:41 AM
RE: Select horse - Coruja - 03-10-2019, 07:57 AM
RE: Select horse - redblack - 04-03-2019, 01:26 AM
RE: Select horse - redblack - 04-08-2019, 06:25 PM
RE: Select horse - Coruja - 04-10-2019, 05:12 AM
RE: Select horse - redblack - 04-11-2019, 02:49 AM
RE: Select horse - Coruja - 04-11-2019, 04:33 AM
RE: Select horse - redblack - 04-11-2019, 02:15 PM
RE: Select horse - redblack - 04-24-2019, 06:56 PM
Agen Poker Online Idn - saklitinov - 07-29-2019, 05:58 AM

Forum Jump:


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