AI Scripted: How are they done? Created 9 years ago2015-07-18 19:49:32 UTC by abbadon abbadon

Created 9 years ago2015-07-18 19:49:32 UTC by abbadon abbadon

Posted 9 years ago2015-07-18 19:49:32 UTC Post #326485
Hi again. I´ve read some tutorials around there but I am still in trouble making the NPCs doing things. What I want is a NPC perform several animations chained, but the aiscripted_sequence entity only lets me play one at a time. How can I do so I can play a pack of animations like, ie: stop->fall->deploy->idle... and after idle make the monster runs the default ai?
Posted 9 years ago2015-07-19 12:17:00 UTC Post #326489
In City 17, you don't script AI; AI script you.

Jokes aside, I really don't know, but I felt like I had to do that. Hope you get the answer soon though, pretty sure you will.

Best Regards,
Ghost129er.
Ghost129er Ghost129erSAS1946 Certified Nuisance
Posted 9 years ago2015-07-19 13:48:34 UTC Post #326490
You can use mutliple aiscripted_sequences chained to each other, playing different animations. To make a scripted_sequence start after another have played, go to the first scripted_sequence, and set it's "target" keyalue to the targetname of the second scripted_sequence.
Dr. Orange Dr. OrangeSource good.
Posted 9 years ago2015-07-19 17:15:58 UTC Post #326491
Hi again Dr!. I've tried that and worked!, he,he! You'll be con crédits twice
! ( scripted sequences advisor 😁). Thanks!
Posted 9 years ago2015-07-20 04:26:21 UTC Post #326495
Actually, I recommend use of an aiscripted_schedule, which is a much more efficient way of getting individual NPCs to be busy with doing things.
Dimbeak DimbeakRotten Bastard
Posted 9 years ago2015-07-20 04:26:55 UTC Post #326496
That's a Source entity, however.
You must be logged in to post a response.