[SCRIPT] Item on entetie - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Item on entetie (/thread-12145.html) |
Item on entetie - Quotentote - 12-28-2011 haiiii there again my 3rd level is on the way \o/ now i wanna make following script sequence: you have a dagger and you need to use it on a ritual prisoner to get a key. i want this to happen: small 'flashszene' (white screen/some screams), prisoner doesnt move anymore, key appears and some blood streams out of his wound. how do i have to write that script? is it an area script which make the other things active/inactive when i touch the area with the dagger? RE: Item on entetie - Obliviator27 - 12-29-2011 You'll want to utilize AddUseItemCallback in conjunction with CreateParticleSystemAtEntity, SetEntityActive, StartEffectFlash, SetPropStaticPhysics, SetEntityActive, and PlaySoundAtEntity. |