Data Realms Fan Forums http://45.55.195.193/ |
|
Adding a device to an actor's inventory using lua. http://45.55.195.193/viewtopic.php?f=73&t=13229 |
Page 1 of 1 |
Author: | Brainwashed [ Mon Dec 29, 2008 2:18 am ] |
Post subject: | Adding a device to an actor's inventory using lua. |
Is it possible to do that in game? A bit of lua that gives the controlled actor the specified device? |
Author: | Ultric [ Mon Dec 29, 2008 3:09 am ] |
Post subject: | Re: Adding a device to an actor's inventory using lua. |
Code: A = ActivityMan:GetActivity():GetControlledActor(0); load = CreateHDFirearm("<Firearm>"); A:AddInventoryItem(load); Enjoy! |
Author: | Brainwashed [ Tue Dec 30, 2008 4:19 pm ] |
Post subject: | Re: Adding a device to an actor's inventory using lua. |
Thank you good sir! With this, I shall add a lawnmower to the Body Ladder guy's invntory and own some zombies good. |
Author: | Winterous [ Tue Jan 20, 2009 3:33 am ] |
Post subject: | Re: Adding a device to an actor's inventory using lua. |
Brainwashed wrote: Thank you good sir! With this, I shall add a lawnmower to the Body Ladder guy's invntory and own some zombies good. O_O AWESOME! |
Author: | Azukki [ Sun Jan 25, 2009 3:49 am ] |
Post subject: | Re: Adding a device to an actor's inventory using lua. |
Winterous wrote: Brainwashed wrote: Thank you good sir! With this, I shall add a lawnmower to the Body Ladder guy's invntory and own some zombies good. O_O AWESOME! http://www.youtube.com/watch?v=NBvfGIlk_n4 I'll just leave this here. Warning: blood/gore |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |