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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ressurection help
Author Message
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #5
RE: Ressurection help
Use Src.Resurrect 1. In fact go to script submissions and grab my t_Shrine code from there and just run checks for a floor tile and make it so it doesn't parse the tithing for the tile.

Llirik, I added support for @DClick just a few moments ago. Try to keep the Src.Resurrect 1 on it instead of removing the 1. It forces the parsing and might be an issue without it. Not sure, it used to be. So forcing it seems more ideal and the syntax looks cleaner using the 1. Smile

Code:
[ItemDef i_resspase]
Name=marble floor
ID=i_Floor_Marble
Type=t_Floor
Can=Can_I_Platform

On=@Create
Attr=Attr_Move_Never|Attr_Static|Attr_Invis

On=@Step
If (<Src.Flags> &StatF_Dead)
Src.Resurrect 1
EndIf

There, that should process it now. Resurrect 2 would never work. If you need them to have fractional life or even full life, let me know. Will edit it for you.
(This post was last modified: 03-13-2016 11:04 PM by Khaos.)
03-13-2016 10:31 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Ressurection help - darksoulfe - 03-10-2016, 11:27 PM
RE: Ressurection help - Kanibal - 03-11-2016, 05:48 PM
RE: Ressurection help - rastrero - 03-12-2016, 06:05 AM
RE: Ressurection help - Llirik - 03-13-2016, 05:30 PM
RE: Ressurection help - Khaos - 03-13-2016 10:31 PM

Forum Jump:


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