(01-20-2012, 07:44 PM)Rokotain Wrote: I'm not an expert at this at all, but I thought of an idea.
What if you make a collide callback, that whenever the statue touches the player a function gets acitavted?
And that function damages the player.
Like:
Quote:OnStart()
{
AddEntityCollideCallback("Player", "Statue_1", "StatueAttack", true, 1);
}
void StatueAttack(string &in asParent, string &in asChild, int alState)
{
GivePlayerDamage(float afAmount, string& asType, bool abSpinHead, bool abLethal);
}
As I said, this might be a completely stupid idea as I have little experience with it.
But it seems like it's worth a try. :] Good luck!
Unfortunately that didn't work either :/
I don't wan't to make a skeleton for it, so I think I'll maybe just script the whole thing. Maybe. Either that or I'll have to learn how to make a skeleton, and with the model I'm using I think I'll just have to make an entirely new entity in Maya, which means I'll have to learn 3d-modeling too. I wan't to learn it, but I also wan't my story to be finished soon, so I don't know what to do. Gaaaaaah!