Game Modding | Call of Duty: Black Ops 3 | General Discussion
Pepergogo:
A little quick question
Anyone know how can I put a weapon in the map like in a table or something like that, so you can just go and grab it and either the weapon dissapear or it just stays there so another player can go and grab it too?
Spiki:
A little quick question
Anyone know how can I put a weapon in the map like in a table or something like that, so you can just go and grab it and either the weapon dissapear or it just stays there so another player can go and grab it too?
Pepergogo:
just put a wallbuy on a table
or drag the gun from the entity browser for a 1 time use
Harry Bo21:
Thanks a lot :D
The weapon from the entity browser works fine, but I wonder if there's a way to use this method to pick up the weapon multiple times? in case you change the weapon
I have this little weird bug with some wallbuys that I make it as usual but the map doesn't open, that's why I can't use the wallbuy this time
Pepergogo:
would have to manually code it in
entity <actor> DropWeapon(<weapon name>,<hand>,[velocity],[angular velocity],[scavenger])
[LIST=1]
- [MANDATORY] <weapon name> (string) The name of the weapon.
- [MANDATORY] <hand> (string) The tag to throw the weapon from.
- [OPTIONAL] [velocity] (vector) The initial velocity of the weapon.
- [OPTIONAL] [angular velocity] (vector) The initial angular velocity of the weapon.
- [OPTIONAL] [scavenger] (bool) If the weapon requires the player to have scavenger perk to pick up the weapon.
CATEGORY: AI [/LIST]
CLIENT/SERVER: Server
SUMMARY: Drop the actor's weapon
EXAMPLE: self DropWeapon(self.weapon, self.anim_gunHand, throwVel)