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
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 asItem, string &in asEntity)
{
SetPropActiveAndFade("slime1", bool abActive, float 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


Messages In This Thread
Slime - by goodcap - 08-05-2016, 03:09 PM
RE: Slime - by A.M Team - 08-05-2016, 03:58 PM
RE: Slime - by Romulator - 08-05-2016, 04:05 PM



Users browsing this thread: 1 Guest(s)