The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Story Dagger Question.
simblarosh Offline
Junior Member

Posts: 5
Threads: 2
Joined: Aug 2011
Reputation: 0
#1
Custom Story Dagger Question.

Im trying to get it to where when I use a ceremony on a body it will activate a key that is laying on top of the body(inactive).
My problem is that when I go to use the knife on the body it says something like"this item cannot be used in this way". How should I script this???

My script is something like this:

AddUseItemCallback("ceremony_knife", "ceremony_knife_1", "corpse_1", "cut_man_1", false);

void cut_man_1(string &in asItem, string &in asEntity)
{
SetEntityActive("key_1", true);
RemoveItem("ceremony_knife");
}

anyone please....
08-03-2011, 01:17 PM
Find


Messages In This Thread
Custom Story Dagger Question. - by simblarosh - 08-03-2011, 01:17 PM
RE: Custom Story Dagger Question. - by Fomzo - 08-03-2011, 04:05 PM
RE: Custom Story Dagger Question. - by simblarosh - 08-03-2011, 05:28 PM
RE: Custom Story Dagger Question. - by SLAMnesia - 08-03-2011, 10:17 PM
RE: Custom Story Dagger Question. - by simblarosh - 08-04-2011, 10:29 PM



Users browsing this thread: 1 Guest(s)