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
Question : How to Skin an NPCs without using a bladed weapon
Author Message
Shidhun
Journeyman
*

Posts: 59
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Jul 2012
Reputation: 1



Post: #1
Question : How to Skin an NPCs without using a bladed weapon
Hello,

yesterday i tried to create a function (or Event) which simulates the skinning of an NPC-Monster without the use of a target.
Sadly all my attempts where useless.

It is very simple to achive this by making a Command, equipping a Memory with the right type (ex. t_weapon_sword) and giving the player a target to skin the npc.

The "Problem" is, that i want to make this a racial feature without the need to target the corpse.

Example :
A Troll dies, in the Resource-List he has 5 Hides of Troll-Leather and some meat.
When a Human Character opens the corpse, nothing happens. He still needs to use a bladed weapon to cut up the corpse, before he gets the resources.

But when the char of another race (example Orcisch) opens the corpse, the corpse is getting cut (if not allready) @dclick and the cont opens. But : Without the use of a simulated Weapon and the need to target the corpse.

I tried to mess around with morey/morez, playing around with the tag.blood and so on. But i don't get the right solution :

Questions :
* Is there a way you know of, how to simulate the cutting of the corpse without a real weapon. Is there some kind of sendpacket?
* How do i find out (comparing the values) which corpse is allready cut? I tried it with messing around with the values of the corpse, but in my Worldsave there is no real difference between a cut-up-corpse and a fresh one. Sure, the tag.blood gets reduced, and morez is changed, but if i set it per script, this doesn't mean that i'm no longer able to cut up a fresh NPC

Thanks in advance for every comment and (possibly) hint.

Shidhun
03-27-2014 04:29 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Question : How to Skin an NPCs without using a bladed weapon - Shidhun - 03-27-2014 04:29 PM

Forum Jump:


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