Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Item on entetie
Author Message
Quotentote Offline
Member

Posts: 118
Joined: Dec 2011
Reputation: 11
Post: #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 all posts by this user Quote this message in a reply
Obliviator27 Offline
Posting Freak

Posts: 801
Joined: Jul 2011
Reputation: 65
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)