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
Script Help Item on entetie
Quotentote Offline
Member

Posts: 118
Threads: 23
Joined: Dec 2011
Reputation: 11
#1
Item on entetie

haiiii there again Wink

my 3rd level is on the way Big Grin \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?
(This post was last modified: 12-28-2011, 07:23 PM by Quotentote.)
12-28-2011, 07:16 PM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Item on entetie

You'll want to utilize AddUseItemCallback in conjunction with CreateParticleSystemAtEntity, SetEntityActive, StartEffectFlash, SetPropStaticPhysics, SetEntityActive, and PlaySoundAtEntity.

12-29-2011, 09:30 PM
Find




Users browsing this thread: 2 Guest(s)