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 Slime
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#1
Slime

How do I make Slime dissappear like the first quest in the original game in the entrance hall?
08-05-2016, 03:09 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#2
RE: Slime

PHP Code: (Select All)
AddUseItemCallback("""YourPotItem""TheSlimeEntity""slime"bool abAutoDestroy);

void slime(string &in asItemstring &in asEntity)
{
SetPropActiveAndFade("slime1"bool abActivefloat afFadeTime);


You can put anything else in the callback like sounds and particles but that is the basic jist of it. Wink
08-05-2016, 03:58 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Slime

It doesn't even have to be a pot. You could make it so you throw a sledgehammer at it and it breaks.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
08-05-2016, 04:05 PM
Find




Users browsing this thread: 1 Guest(s)