hi everyone I need help for the life of me I have tried everything, but I can't seem to make spikes I made make the animation of going up and down.
In the spike.mdl I gave it a couple of animations called spikeup 1, spikeup 2, spikeup 3 etc, ect. Yet I placed the spike.mdl in my game and gave it a script of.

Quote:


var spikeup_percent=0;
action spike_1
{
spikeup_percent=(spikeup_percent+5*time)%100;
ent_animate(me,"spikeup",spikeup_percent,ANM_CYCLE);
my.enable_impact=ON;
my.event=lev_2_event;
}




Yet when I run the game the spikes don't play the animation I also tried putting

while(1)
{
ent_cycle("spikeup", my.skill1);
}

and no dice.
it plays the animation only on the instance that I don't give the spike model and action, yet I want that when I touch it I go to the first level.
I would appreciate any help.

Last edited by tek; 08/15/06 22:19.