Data Realms Fan Forums
http://45.55.195.193/

How do you pick up an item after it has been shot out a gun
http://45.55.195.193/viewtopic.php?f=1&t=17287
Page 1 of 1

Author:  Benboman [ Fri Dec 04, 2009 7:56 pm ]
Post subject:  How do you pick up an item after it has been shot out a gun

Hewwo
How do you make an item pickupable (fail word) after it has been shot out a grenade launcher (it is gibbed in the grenade launcher ammo so that when the ammo blows up it gets gibbed)Hope you understood that better than i phrased it

Any help would be good

Author:  Duh102 [ Fri Dec 04, 2009 7:57 pm ]
Post subject:  Re: Hoe do you pick up an item after it has been shot out a gun

You can either make it through Lua (see the lua subforum on how to create MOs in Lua), or make an insta-gib craft with the item in it's inventory.

Author:  Benboman [ Fri Dec 04, 2009 8:03 pm ]
Post subject:  Re: How do you pick up an item after it has been shot out a gun

Out of interest is there a code for it say Pickup = 1
Obliviously thats not it, but is there one that you know off the top of you head?
if you dont know dont worreh

And thanks for the first help


[Edit] the reason for this is that there is no info on the wiki or forums

Author:  Duh102 [ Fri Dec 04, 2009 8:10 pm ]
Post subject:  Re: How do you pick up an item after it has been shot out a gun

Benboman wrote:
Obliviously thats not it, but is there one that you know off the top of you head?

Lolz, obliviously.
There is no Pickupable variable, though if the item is GetsHitByMOs = 0 then it can't be picked up. The reason behind this is that interactable MOs are on a separate list than ammo MOs, so anything shot out of a gun is not considered an interactable MO but an ammo MO.

Author:  Benboman [ Fri Dec 04, 2009 8:13 pm ]
Post subject:  Re: How do you pick up an item after it has been shot out a gun

Thanks alot man that worked a treat!!!

(i didnt think that made a differece)


:grin:

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/