ooadrianoo
Member
Posts: 82
Threads: 29
Joined: Apr 2012
Reputation:
0
|
New item
I've been thinking about to create a new item.
But I don't know how to make a function if the item is used.
E.g. If item is used then FadeRadialBlurTo...
|
|
09-25-2012, 04:16 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: New item
Are you asking when it is used in the inventory? Such as health or sanity potion. Combination? Such as a hammer to a chipper. or when an item is used in the environment, such as a key on a door or acid on an entity, etc?
|
|
09-25-2012, 04:39 PM |
|
ooadrianoo
Member
Posts: 82
Threads: 29
Joined: Apr 2012
Reputation:
0
|
RE: New item
Yes used in the inventory.
Its a potion and when it be used, the effect should be FadeRadialBlurTo
(This post was last modified: 09-25-2012, 05:19 PM by ooadrianoo.)
|
|
09-25-2012, 05:19 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: New item
As far as I know, you can only activate items in the inventory like that by way of Sanity Potion, Laudanum, and Oil Potions.
|
|
09-25-2012, 05:29 PM |
|
ooadrianoo
Member
Posts: 82
Threads: 29
Joined: Apr 2012
Reputation:
0
|
RE: New item
(09-25-2012, 05:29 PM)Statyk Wrote: As far as I know, you can only activate items in the inventory like that by way of Sanity Potion, Laudanum, and Oil Potions. Maybe I can change it in a script?
(09-25-2012, 05:39 PM)ooadrianoo Wrote: (09-25-2012, 05:29 PM)Statyk Wrote: As far as I know, you can only activate items in the inventory like that by way of Sanity Potion, Laudanum, and Oil Potions. Maybe I can change the effect it in the a script?
(This post was last modified: 09-25-2012, 05:43 PM by ooadrianoo.)
|
|
09-25-2012, 05:39 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: New item
Sure, it's possible. Just know that it has to be one of the item types and it will still affect the same way. Just have a timer that checks for something such as health increase or sanity increase, etc.
|
|
09-25-2012, 05:43 PM |
|