Posts
78
Respect
16Add +1
Forum Rank
Rotting Walker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!You will need a function to actually tell your ai to do dialog.
Check ber3_util.gsc and look for "say_dialog" and "is_active_ai" functions and paste them both into your mapname anim gsc
Ex
Level.scr_sound ["sarge"] ["speaker1234"] = "speaker1234";
Level.sarge say_dialog( "sarge", "speaker1234", true ,true,false);
//
There is also a function called play_generic_facial( sound, looktarget)
If you pass the player as looktarget it will face the player then say the dialog with lip sync.
Edited to add
https://www.mediafire.com/download/zr8aueggbwqwadd
Another working example with addnotetrack_customdialog thats closer to what your trying to do.
You will need a function to actually tell your ai to do dialog.
Check ber3_util.gsc and look for "say_dialog" and "is_active_ai" functions and paste them both into your mapname anim gsc
Ex
Level.scr_sound ["sarge"] ["speaker1234"] = "speaker1234";
Level.sarge say_dialog( "sarge", "speaker1234", true ,true,false);
//
The error in your script is that you are calling say_dialog() in your first funtion on nothing. There could be other errors that i didnt see.
//
Heres another way to do anims and voice for ai. Its not synced so you will prob need to edit the waits in the gsc. With this and the gsc linked in my previous post you should be able to get it working. Both were tested have instructions and work independently.
https://www.mediafire.com/download/78csa6ymwtjujqc