JASS Tools
News
Download
Help
JASS Manual
-------------------------------------------------------------

TYPES | FUNCTIONS | VARIABLES

Type weapontype

Global Variables | Functions That Return | Functions That Take

Ancestor Types:handle > weapontype
Children Types:none
Location:common.j, line 91

------------------------------------------------------------

Information about type weapontype

weapontype is used by the damage functions to play different sound effects depending on the weapontype value, if you don't want any sound, just use WEAPON_TYPE_UNKNOWN or null.

BACK TO TOP

------------------------------------------------------------

Global variables of type weapontype:

common.j:
WEAPON_TYPE_AXE_MEDIUM_CHOP, WEAPON_TYPE_CLAW_HEAVY_SLICE, WEAPON_TYPE_CLAW_LIGHT_SLICE, WEAPON_TYPE_CLAW_MEDIUM_SLICE, WEAPON_TYPE_METAL_HEAVY_BASH, WEAPON_TYPE_METAL_HEAVY_CHOP, WEAPON_TYPE_METAL_HEAVY_SLICE, WEAPON_TYPE_METAL_HEAVY_STAB, WEAPON_TYPE_METAL_LIGHT_CHOP, WEAPON_TYPE_METAL_LIGHT_SLICE, WEAPON_TYPE_METAL_MEDIUM_BASH, WEAPON_TYPE_METAL_MEDIUM_CHOP, WEAPON_TYPE_METAL_MEDIUM_SLICE, WEAPON_TYPE_METAL_MEDIUM_STAB, WEAPON_TYPE_ROCK_HEAVY_BASH, WEAPON_TYPE_WHOKNOWS, WEAPON_TYPE_WOOD_HEAVY_BASH, WEAPON_TYPE_WOOD_HEAVY_SLICE, WEAPON_TYPE_WOOD_LIGHT_BASH, WEAPON_TYPE_WOOD_LIGHT_SLICE, WEAPON_TYPE_WOOD_LIGHT_STAB, WEAPON_TYPE_WOOD_MEDIUM_BASH, WEAPON_TYPE_WOOD_MEDIUM_SLICE, WEAPON_TYPE_WOOD_MEDIUM_STAB

BACK TO TOP

------------------------------------------------------------

Functions that return type weapontype (     common.j,      common.ai,      Blizzard.j):

constant native ConvertWeaponType (integer i) returns weapontype

BACK TO TOP

------------------------------------------------------------

Functions that take type weapontype as a parameter (     common.j,      common.ai,      Blizzard.j):

native UnitDamagePoint (unit whichUnit, real delay, real radius, real x, real y, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean
native UnitDamageTarget (unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType) returns boolean

BACK TO TOP

------------------------------------------------------------
Copyright (c) 2003 Jeff Pang
Not affiliated or endorsed by Blizzard Entertainment
SourceForge.net Logo