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?
What are the enumerables for shootProjectile
-
rapancheese
- Posts: 1
- Joined: Mon Oct 15, 2012 5:36 am
Re: What are the enumerables for shootProjectile
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
There in the editor ~every item has its name attribute.Decayer wrote: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
oooooh, an animated beholder avatar pic...can I hug him?!! He's sooo awesome!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Re: What are the enumerables for shootProjectile
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.msyblade wrote:oooooh, an animated beholder avatar pic...can I hug him?!! He's sooo awesome!
Re: What are the enumerables for shootProjectile
Eh, you stole my avatar. Or I stole your username 
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org