View Issue Details

IDProjectCategoryView StatusLast Update
0009918New issuesClientpublic2018-09-02 07:53
Reporterstar-tRAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0009918: createWeapon
Description
  1. When receiving damage with custom 'deagle', the player does not get the 'hitanim' task.
  2. setElementCollidableWith and setElementCollisionsEnabled does not work for createWeapon()
Steps To Reproduce

function createWeaponInPlayerForFixDamage(w, a)
x, y, z = getElementPosition(localPlayer)
local shot = createWeapon(getWeaponNameFromID(w), x, y, z+0.7)
setElementAlpha(shot,0)
setElementCollidableWith(shot, localPlayer, false)
setElementCollisionsEnabled(shot,false)
setWeaponTarget(shot,localPlayer)
fireWeapon(shot)
destroyElement(shot)
end
addEvent("createWeaponInPlayerForFixDamage", true)
addEventHandler("createWeaponInPlayerForFixDamage", root, createWeaponInPlayerForFixDamage)

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change