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
This is an easy one :D i think
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #2
RE: This is an easy one :D i think
Ok, im almost done but i need help to figure this: how do i get the baseid of a <src.targp>?

i didnt know forest type was ground so i need something like this.
most trees are multis so i figure it was a good idea to identify them with their baseid but i dont know how to get if i only have <src.targp>

IF (<type> == t_weapon_axe && STRMATCH(i_tree_x*,<SRC.TARGP.(need something to get the baseid here)>)

Thank you

Argument In/Out Description
ARGN1 I If a static item was targeted, the ID of the item.

i think i needed some more read xD

OK so i have <hval to get the hexnumber of the item but im still thinking about how to join it to the <src.targp> reference given by this trigger Confused
(This post was last modified: 06-13-2014 01:38 PM by kn4tseb.)
06-13-2014 01:22 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
This is an easy one :D i think - kn4tseb - 06-13-2014, 02:30 AM
RE: This is an easy one :D i think - kn4tseb - 06-13-2014 01:22 PM
RE: This is an easy one :D i think - XuN - 06-13-2014, 08:07 PM
RE: This is an easy one :D i think - XuN - 06-14-2014, 04:02 AM

Forum Jump:


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