Search found 2 matches

by danshat
Fri Apr 21, 2017 5:00 pm
Forum: Modding help
Topic: Use an item
Replies: 2
Views: 864

Re: Use an item

steinio wrote:You can use the fish prototype what is like a grenade with negative damage.
I need a script event. control.lua should understand when player uses an item. I am trying to change a variable with activation not heal a player.
by danshat
Fri Apr 21, 2017 4:38 pm
Forum: Modding help
Topic: Use an item
Replies: 2
Views: 864

Use an item

Hey guys. I am trying to do a mod where an item should be used (like grenades). It can be LMB click, RMB click, whatever. Actually, I am trying to make a tomato eatable. I though about placing a fake entity but I don't know how to do it. Do you have any ideas? There is no event in API which is using ...

Go to advanced search