Garry's Mod

Garry's Mod

[E2] DamageCore
13개 중 1~10개 표시 중
< 1  2 >
업데이트: 2023년 8월 13일 @ 오전 9시 23분

None Provided

업데이트: 2018년 7월 6일 @ 오전 11시 42분

Change variable type name of "dmg" to "xdm" because of a wiremod update.

업데이트: 2017년 3월 13일 @ 오후 2시 47분

None Provided

업데이트: 2017년 3월 13일 @ 오후 2시 16분

None Provided

업데이트: 2017년 2월 26일 @ 오전 4시 28분

None Provided

업데이트: 2017년 2월 24일 @ 오후 4시 34분

None Provided

업데이트: 2016년 7월 8일 @ 오후 2시 20분

Add R:trackDamage()
Add R:stopTrackDamage()

업데이트: 2016년 6월 27일 @ 오전 9시 32분

None Provided

업데이트: 2016년 3월 17일 @ 오후 1시 17분

Fix!

업데이트: 2016년 3월 17일 @ 오전 11시 37분

Add damage var type

Add Constents:
_DMG_GENERIC
_DMG_CRUSH
_DMG_BULLET
_DMG_SLASH
_DMG_BURN
_DMG_VEHICLE
_DMG_FALL
_DMG_BLAST
_DMG_CLUB
_DMG_SHOCK
_DMG_SONIC
_DMG_ENERGYBEAM
_DMG_NEVERGIB
_DMG_ALWAYSGIB
_DMG_DROWN
_DMG_PARALYZE
_DMG_NERVEGAS
_DMG_POISON
_DMG_ACID
_DMG_AIRBOAT
_DMG_BLAST_SURFACE
_DMG_BUCKSHOT
_DMG_DIRECT
_DMG_DISSOLVE
_DMG_DROWNRECOVER
_DMG_PHYSGUN
_DMG_PLASMA
_DMG_PREVENT_PHYSICS_FORCE
_DMG_RADIATION
_DMG_REMOVENORAGDOLL
_DMG_SLOWBURN

Add runOnDmg(number, entity)
Add runOnDmg(number, array)

Add entity:trackDamage()
Add entity:stopTrackDamage()

Add damage()
Add lastDamage()
Add lastVictim()
Add dmg:clone()

Add dmg:getDamage()
Add dmg:getAttacker()
Add dmg:getForce()
Add dmg:getPosition()
Add dmg:getType()
Add dmg:getInflictor()

Add dmg:isBulletDamage()
Add dmg:isExplosionDamage()
Add dmg:isFallDamage()
Add dmg:isDamageType()

Add dmg:setAttacker(entity)
Add dmg:setDamage(number)
Add dmg:setForce(vector)
Add dmg:setPosition(vector)
Add dmg:setType(number)
Add dmg:setInflictor(entity)

Add entity:takeDamage(damage)
Add entity:takeDamage(number)
Add entity:takeDamage(number, entity(attacker))
Add entity:takeDamage(number, entity(attacker), entity(inflictor))
Add blastDamage(damage)
Add blastDamage(entity(inflictor), entity(attacker), vector, number(radius), number(damage))