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
ON=@DESTROY change tag
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #5
RE: ON=@DESTROY change tag
(09-07-2012 03:55 AM)Gadianton Wrote:  
Quote:ALL RELEASE in the elemental don't take out the tag.

A tag needs to be taken out by specific code. Since "release" doesn't kill the creature (@Death or @Destroy) the Tag will stick... also since release breaks the link to the owner the @Death tag will probably not work properly when the creature finally dies.
You probably have to navigate around this by attaching a speech event to the summoned creature that triggers on the word "Release" and clears the Tag there instead of the @Death Trigger.
Code:
[SPEECH spk_conjuredelemental_release] // dumb long name I know..

ON=*release*
  IF <SRC.UID>==<OWNER.UID>
    // Take out elemental cast tag.
    I.TAG0.CASTEANDOELEMENTAL=
  ENDIF

Important probably is that you don't RETURN 1 out of this one or you might mess up the release process as a whole.

Maybe that will work?

Gadianton

Works with ACT.TAG0.casteandoelemental=

[ACT] i had change

but... I have a new problem.

If i use *RELEASE* first works the other function of release and the monster get released without take me out the tag.
If i use something like *RELEASE1* works perfectly, but my monster keeps be mine...

But i want to use the normal release.

I can change the release or all release function to add the act.tag0.casteandoelemental=

thanks! Smile

[Image: 2hy9q0y.png]
09-07-2012 06:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
ON=@DESTROY change tag - Lazarus - 09-05-2012, 05:08 AM
RE: ON=@DESTROY change tag - darksun84 - 09-05-2012, 05:26 AM
RE: ON=@DESTROY change tag - Lazarus - 09-05-2012, 03:49 PM
RE: ON=@DESTROY change tag - Gadianton - 09-07-2012, 03:55 AM
RE: ON=@DESTROY change tag - Lazarus - 09-07-2012 06:14 AM
RE: ON=@DESTROY change tag - RanXerox - 09-07-2012, 08:34 AM
RE: ON=@DESTROY change tag - Lazarus - 09-07-2012, 12:48 PM
RE: ON=@DESTROY change tag - Lazarus - 09-10-2012, 03:14 AM

Forum Jump:


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