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
Fomzo Offline
Senior Member

Posts: 351
Threads: 13
Joined: Mar 2011
Reputation: 4
#2
RE: Custom Story Dagger Question.

Thread category "Custom Stories and Modifications" will help you.
08-03-2011, 04:05 PM
Find
WatzUpzPeepz Offline
Member

Posts: 106
Threads: 12
Joined: May 2011
Reputation: 0
#3
RE: Custom Story Dagger Question.

I dont understand what the "ceremony_knife_1" is for,and make sure all the names match up.

08-03-2011, 04:24 PM
Find
simblarosh Offline
Junior Member

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

(08-03-2011, 04:24 PM)WatzUpzPeepz Wrote: I dont understand what the "ceremony_knife_1" is for,and make sure all the names match up.

basically the knife will be usable on the body(corpse_1) and then a key will become active next to the body....
08-03-2011, 05:28 PM
Find
SLAMnesia Offline
Member

Posts: 99
Threads: 39
Joined: May 2011
Reputation: 0
#5
RE: Custom Story Dagger Question.

something about items such as "ceremony_knife_1" dont script well. I don't know if this is true, but i think you might have to create a custom item with the different properties
and i cant help you very much sorry
08-03-2011, 10:17 PM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#6
RE: Custom Story Dagger Question.

Make sure to double check your in-map names. I know that's what has been messing with me for the last little bit.
08-04-2011, 03:23 AM
Find
simblarosh Offline
Junior Member

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

(08-04-2011, 03:23 AM)Obliviator27 Wrote: Make sure to double check your in-map names. I know that's what has been messing with me for the last little bit.

that isn't it iv'e checked them a hundred times.....I need to see a script of how to do it??
08-04-2011, 10:29 PM
Find




Users browsing this thread: 2 Guest(s)