Scripting problems again Created 16 years ago2007-04-20 15:26:21 UTC by trooperdx3117 trooperdx3117

Created 16 years ago2007-04-20 15:26:21 UTC by trooperdx3117 trooperdx3117

Posted 16 years ago2007-04-20 15:26:21 UTC Post #219600
I know that there is already a topic on this by me in the forum but since people stopped posting I decided to make a new one so I have a sequence with a zombie and scientist but the zombie kills the scientist before the sequence starts and when I teleport in the zombie the zombie for some reason refuses to move no matter what and also how do you make a monster repeat a sequence thanks
Posted 16 years ago2007-04-20 16:38:21 UTC Post #219601
1) Use aiscripted_sequence to override the monster's default AI. That'll stop the zombie from killing the scientist.

2) Teleported in the zombie? Using a monster_maker? Dunno about that.

3) Trigger it again, I figure.
Posted 16 years ago2007-04-20 16:45:35 UTC Post #219602
How did you teleport it? Use a regular scripted_sequence to teleport him. Then use another to make him walk toward the scientist and kill him.
I made a script like that only that the scientist also screamed. It all looked so nice, I will post an example map on advance scripting.
You actually need to work with multi_managers to get it to work. I'll show it to you in the example.

First a zombie will eat a scientist and when you take a crowbar he'll get up nicely and slowly. Then a little sequence in a room next to you will happen, the script you want to make, only that the scientist will try to escape first. Then the zombie will break open the door.
Done that once and I will show you how to do it. :)
Posted 16 years ago2007-04-20 17:23:03 UTC Post #219603
Well my script involves the scientist hammering against a window to get out when a zombie comes and kills him and I used a scripted sequence with move to instantaneous but once that happens the zombie stops moving rather than killing the scientist
Posted 16 years ago2007-04-20 17:41:11 UTC Post #219604
I'll post an example map. :) You need to use mulit managers for such a complex script, and I'll show you how.
Posted 16 years ago2007-04-21 04:56:29 UTC Post #219644
Great thanks :D
You must be logged in to post a response.