DoGrenade() Question
Zephirius
Member Posts: 419
I'm just trying to get the grenade animation of the bottle bouncing to it's target. As it is now it just appears to explode out of thin air. All I want is the bouncing grenade animation. Where is it? Anyone know?
code so far:
code so far:
// Test script (Do Grenade) object oUsed6 = GetItemActivated(); if (GetTag(oUsed6) == "BOB_G") { object oPC = GetItemActivator(); location lEnemy = GetItemActivatedTargetLocation(); AssignCommand(oPC, DoGrenade(d6(1),d4(1), VFX_IMP_FLAME_M, VFX_FNF_FIREBALL, DAMAGE_TYPE_FIRE, RADIUS_SIZE_MEDIUM, OBJECT_TYPE_CREATURE | OBJECT_TYPE_DOOR | OBJECT_TYPE_PLACEABLE)); } }Thnks guys, your the best!!!
0
Comments
There are 8 different types of grenade spell constants to pick from.
Got the Fake grenade spell to work but all of the effects fire before the grenade launches. The PC literally fake throws > then the effects and damage apply > then throws the grenade , and it bounces merrily on it's way to a big nothing...?
Everything is out of sync horribly.
If anyone can see anything awry with my delays, or anything else that comes to mind - please chime in.
Unfortunately casting fake spells still doesn't have a parameter to not do the spell animation. Instead, create an invisible object at the player location, have it cast the fake spell, then destroy the invisible object. You can mess around with your timing from there.
That did the trick! Thank you for the suggestion.