PDA

View Full Version : Script fix needed


Ferc Kast
11-30-2007, 10:56 PM
I made a script to let a creature be spawned from a grenade being thrown(like a Pokéball), however the grenade isn't visually being thrown. So, how would I make the grenade be visually seen when my spawning script fires? The model variation and texture variation are set correctly in the uti file; I made sure of that before making this thread.

Also, how would I make the creature follow me?

stoffe
12-01-2007, 05:50 AM
I made a script to let a creature be spawned from a grenade being thrown(like a Pokéball), however the grenade isn't visually being thrown. So, how would I make the grenade be visually seen when my spawning script fires?

You don't use a script for the projectile, the impact scripts of grenades trigger when the projectile has landed and is exploding.

The projectile itself is set in the spells.2da file for the line used by the grenade. You set which projectile model to use in the projmodel column, set the projtype column to grenade, the proj column to 1 and set the projspwnpoint column to throw.