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!
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#3
RE: Script help!

You can script in locally too.

This script should do what you want. Copy and paste it, but make sure your names and such are correct!

AddUseItemCallback("glass_container_on_poison_gland", "glass_container_1", "poison_gland_1", "GlassContainerFunc", true);

void GlassContainerFunc
{
    GiveItemFromFile("acid_mix", *put your custom acid item here*);
    //more cool stuff here
}

* Create a custom item entity and use that in the GiveItemFromFile function.

(This post was last modified: 05-18-2011, 09:13 AM by palistov.)
05-18-2011, 09:08 AM
Find


Messages In This Thread
Script help! - by SLAMnesia - 05-18-2011, 02:58 AM
RE: Script help! - by Russ Money - 05-18-2011, 09:01 AM
RE: Script help! - by palistov - 05-18-2011, 09:08 AM
RE: Script help! - by SLAMnesia - 05-19-2011, 12:07 AM
RE: Script help! - by Rownbear - 05-19-2011, 09:16 AM
RE: Script help! - by palistov - 05-19-2011, 07:29 AM



Users browsing this thread: 1 Guest(s)