Cant get scripted seqences to repeat... Created 20 years ago2004-02-01 14:41:30 UTC by Dark Phoenix Dark Phoenix

Created 20 years ago2004-02-01 14:41:30 UTC by Dark Phoenix Dark Phoenix

Posted 20 years ago2004-02-01 14:41:30 UTC Post #14840
Ive get a scene in my map where the player is behind glass and sees a zombie walk up to a dead body and start eating it. Ive got everything sorted except that when he starts eating, it plays the animation once then doesnt continue. How to i make it carry on eating until its disturbed?

Thanks
Posted 20 years ago2004-02-01 15:02:23 UTC Post #14844
set the animation name in the "IdleAnimation" field
Posted 20 years ago2004-02-01 15:07:27 UTC Post #14847
That didnt work either.
:nuts:
Posted 20 years ago2004-02-01 20:14:46 UTC Post #14893
Go to the old scripted_sequence competition page on this site and download my rmf called 'the crusher'. It starts off in a room with two zombies eating a barney and they keep eating until the player moves. Let me know if you need more help after you see it.
Posted 20 years ago2004-02-02 13:36:53 UTC Post #14944
I got your crusher map and i saw what you did. I then went back and copied what you did, but still it didnt work! Its just ;playes the animation once through then just stands there. A couple things that went through my head were, im doing this with opposing force, but then i realised i had run your map through op4 so that wasnt it. I then realised that mine was different to yiours because i made mine walk to the corpse. I thought that must of been it so i put it next to the body and didnt make it move. I was so sure this was it... but no it just did the same.

I dont know what to do now?? :
Posted 20 years ago2004-02-02 15:05:32 UTC Post #14950
Ive done it!!
What i did was i named the script z and then named the target field z too so it would keep targeting itself, thus repeating. But i havent fully tested it yet, i'll see if any problems arise.
Posted 20 years ago2004-02-02 15:09:06 UTC Post #14951
okay, no it didnt work.
now the zombie doesnt attack you unless you shoot him. :confused:
This is so annoying!!! It should be so simple!!
Posted 20 years ago2004-02-02 15:38:13 UTC Post #14954
Ive tried loads of things, i even completelty deleted my entire test map and restarted, still exactly the same problem!

What am i doing wrong!! Nothing as far as i can see!! :zonked:
Posted 20 years ago2004-02-02 15:49:25 UTC Post #14958
now the zombie doesnt attack you unless you shoot him.
If you're using an aiscripted_sequence or have the "Override AI" flag checked, use a normal s_s/uncheck it.

If not, maybe try having the monster targetting a trigger_relay, that deletes the s_s, when he sees you?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 20 years ago2004-02-02 17:00:39 UTC Post #14975
Hmmm....even without override AI, he still won't attack. I have a solution:

Surround the area with a trigger once, except for where the player is. Make the trigger once killtarget the script or have it target another that makes the zombie get up, then behave as normal. The get up one will look better. Much better.
Posted 20 years ago2004-02-02 18:38:09 UTC Post #15017
Thats a good idea Vassy, its just when i finish this game, i want other people to play it and enjoy it, but i also want people to think it looks good.

Heres what i think might make that a bad idea:
You walk round a corner and a head of you down a dark alley you see a zombie eating a body. But the player hasnt walked through the trigger_once wall yet so the zombies still oblivious to the player presence. Any normal player would just kill it the moment they saw it, so some players might not even be attacked by this zombie because they didnt de-trigger it.

Im not sure i really explained that very good.... :

But that was a really good idea, thanks! ;)
You must be logged in to post a response.