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
'Slime puzzle'
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: 'Slime puzzle'

(12-18-2011, 03:22 PM)Quotentote Wrote:
PHP Code: (Select All)
AddUseItemCallback("""pot1""slime1""slime"bool abAutoDestroy);

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



so i dont need an area for that?

as i try to start the map i got an error...blabla 'expected '(''
sorry for my questions :/ just new in scripting
Your using a item with a Entity, that's not a area.

void OnStart()
{
AddUseItemCallback("", "nameofpotion", "nameofentityyourusingthepotionon, "slime, false);
}

void slime(string &in asItem, string &in asEntity)
{
SetEntityActive("nameofslime", false);
OR
SetPropActiveAndFade("nameofslime, true, 1.0f);
}



(This post was last modified: 12-18-2011, 03:32 PM by flamez3.)
12-18-2011, 03:31 PM
Find


Messages In This Thread
'Slime puzzle' - by Quotentote - 12-18-2011, 02:37 PM
RE: 'Slime puzzle' - by Dobbydoo - 12-18-2011, 03:07 PM
RE: 'Slime puzzle' - by Quotentote - 12-18-2011, 03:22 PM
RE: 'Slime puzzle' - by flamez3 - 12-18-2011, 03:31 PM
RE: 'Slime puzzle' - by Dobbydoo - 12-18-2011, 03:53 PM
RE: 'Slime puzzle' - by Quotentote - 12-18-2011, 04:00 PM
RE: 'Slime puzzle' - by flamez3 - 12-18-2011, 04:41 PM
RE: 'Slime puzzle' - by Quotentote - 12-18-2011, 05:47 PM



Users browsing this thread: 1 Guest(s)