Fortress Forever

Go Back   Fortress Forever > Projects > Fortress Forever > Bug

Problems when giving the Incendiary Cannon with Lua. Issue Tools
issueid=426 04-08-2013 10:35 PM
worst ff player eu
Problems when giving the Incendiary Cannon with Lua.
player:GiveWeapon("ff_weapon_ic", true) doesn't work correctly.

When using player:GiveWeapon(), if the weapon classname is "ff_weapon_ic", then no matter whether you put true or false for whether it will automatically switch weapon, it NEVER auto switches weapon.

If you have no weapons due to player:RemoveAllWeapons() then the IC STILL doesn't auto switch.

In order to get the IC out, you have to manually scroll to it. It only affects the IC, which is the strange thing :L
Issue Details
Project Fortress Forever
Category LUA (Map Scripting)
Status Unconfirmed
Priority 7 - Med/Low
Affected Version 2.41
Fixed Version (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)


Issue Tools
Subscribe to this issue

All times are GMT. The time now is 04:02 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.