The Dink Network

Reply to Re: 2 hero control scheme

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 21st 2008, 09:47 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
As or now the npc functions only as melee with nothing other than brain 9, sp_target() and set_smooth_follow(). There is nothing special so far. When I implement a ranged mode (you toggle inbetween ranged and melee by pressing a key) he may end up with a new script altogether for that particular mode.

I'm not quite sure how to go about making the npc "run away." I'd need some actual code in that area. I'm quite dumb when it comes to programming actual behavior of AI. The only real reason I can manage making an npc shoot is because the scripts are already out there.