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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use Dagger?
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#3
RE: Use Dagger?

I think that if you want the dagger to be visible on the body, you will have to make a copy of the dagger thats in the body and set it unactive.Also make sure the dagger copy has static physics. Then use this in combination with the script:

void OnStart()
{
AddUseItemCallback("", "ceremony_knife_1", "corpse_male_1", "UsedDaggerOnBody", true);
}
UsedDaggerOnBody(string &in asItem, string &in asEntity)
{
SetEntityActive("ceremony_knife_2", true);
SetSwingDoorLocked("castle_1", false, true);
}

You can later add a sound like a blade-piercing-flesh kind of sound.

(This post was last modified: 04-25-2011, 02:04 PM by Kyle.)
04-25-2011, 01:59 PM
Find


Messages In This Thread
Use Dagger? - by ricky horror - 04-25-2011, 04:26 AM
RE: Use Dagger? - by Poppuhik42 - 04-25-2011, 08:44 AM
RE: Use Dagger? - by Kyle - 04-25-2011, 01:59 PM
RE: Use Dagger? - by ricky horror - 04-25-2011, 10:09 PM
RE: Use Dagger? - by Hunter of Shadows - 04-26-2011, 01:32 AM
RE: Use Dagger? - by Kyle - 04-25-2011, 10:15 PM
RE: Use Dagger? - by ricky horror - 04-26-2011, 01:04 AM
RE: Use Dagger? - by Kyle - 04-26-2011, 02:19 AM
RE: Use Dagger? - by ricky horror - 04-26-2011, 03:16 AM
RE: Use Dagger? - by jens - 04-26-2011, 06:10 AM
RE: Use Dagger? - by ricky horror - 04-26-2011, 06:49 AM



Users browsing this thread: 2 Guest(s)