Page 1 of 1

What are the enumerables for shootProjectile

Posted: Mon Oct 15, 2012 7:04 am
by rapancheese
So in some part of the tutorial the shootProjectile function is explained in a lot of detail. However, the very first parameter 'projectile' is never mentioned. Now, I tried out "rock" as the value for projectile and the code worked down to a rock being launched. From what I can tell that means there's some list of strings that correspond to the different projectile types.

So does anyone have such a list? Or at least know the string for the lightning one?

Re: What are the enumerables for shootProjectile

Posted: Mon Oct 15, 2012 12:01 pm
by Decayer
They're in the asset pack (http://www.grimrock.net/modding/asset-pack/), check the files in /assets/scripts/ for the names.

Re: What are the enumerables for shootProjectile

Posted: Mon Nov 05, 2012 7:28 am
by Isaac
Decayer wrote:They're in the asset pack (http://www.grimrock.net/modding/asset-pack/), check the files in /assets/scripts/ for the names.
There in the editor ~every item has its name attribute.

Re: What are the enumerables for shootProjectile

Posted: Mon Nov 05, 2012 7:43 am
by msyblade
oooooh, an animated beholder avatar pic...can I hug him?!! He's sooo awesome!

Re: What are the enumerables for shootProjectile

Posted: Mon Nov 05, 2012 11:57 am
by Isaac
msyblade wrote:oooooh, an animated beholder avatar pic...can I hug him?!! He's sooo awesome!
My avatar is the original sprite from EoB; but I plan to make a 3D version for LoG once I've imported a few [simpler] working character models. ;)

Re: What are the enumerables for shootProjectile

Posted: Mon Nov 05, 2012 12:26 pm
by Xanathar
Eh, you stole my avatar. Or I stole your username ;)