Grenades
Overview
Creator:
MoscowModder
Added: 27 Apr 2014
Tags:
FFC,
Item
|
View Script |
Information
Allows you to throw a bomb like a grenade.
Description Setup Reviews Comments
Once you've compiled the script, remember the slot you put the grenadeFFC script into. Next, make a new grenade item (should be a Custom Item Class, not a bomb item), attach the grenade item script in its action slot, and set the following arguments:
D0: Damage to deal (Wooden sword does 2)
D1: Distance to travel (I recommend 60)
D2: Max height (18)
D3: Sprite to use (from the weapon/misc sprites)
D4: # of grenade FFC script slot
By default, the grenade will use up bombs, but you can edit the CR_GRENADES constant to make it use another counter instead.
Requires ffcscript.zh
D0: Damage to deal (Wooden sword does 2)
D1: Distance to travel (I recommend 60)
D2: Max height (18)
D3: Sprite to use (from the weapon/misc sprites)
D4: # of grenade FFC script slot
By default, the grenade will use up bombs, but you can edit the CR_GRENADES constant to make it use another counter instead.
Requires ffcscript.zh




