Scripts / [SOLVED] Dying NPC with custom animation

Author
Message
Cup of tea
3
Years of Service
User Offline
Joined: 29th Dec 2020
Location: UK
Posted: 24th Oct 2021 23:05
In my game, I'm trying to make a critically wounded ally speak to the player; providing them with useful information and then dying. I was inspired by Extraction Point by AvengedEagle (wouldn't let me upload a clip sadly). How would I go about making this? Thanks!
Cup of tea

The author of this post has marked a post as an answer.

Go to answer
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 25th Oct 2021 14:32
This post has been marked by the post author as the answer.
depends on how you want to display the info, i.e. show some text, show text using an image, sound etc?
if you can code it's a basic state logic flow, i.e. wait for player -> show useful information -> play death animation
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Cup of tea
3
Years of Service
User Offline
Joined: 29th Dec 2020
Location: UK
Posted: 26th Oct 2021 20:59
I'll have a go at that, cheers!
Cup of tea
PM

Login to post a reply

Server time is: 2024-04-25 07:21:50
Your offset time is: 2024-04-25 07:21:50