Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect Area to Entity
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Connect Area to Entity

(08-14-2011, 08:09 PM)Phoroneus Wrote: I'm working on a workaround right now. The intent is to make a killable enemy that despawns when killed and spawns a ragdoll in its place (this isn't currently for a project but has been bugging me for a while). I'll post the relevant files somewhere if I manage it, or post how to effect the changes.

I already have a script that "kills" an enemy, though currently it just makes the enemy go "poof" (i.e. hallucination death). I can post what i have and you can modify it to what you want. If not, i should mention enemies have 0 health by default; giving or setting a health for them does not give them health. Therefore inflicting damage through one of the prop functions will neither kill nor hurt the enemy. My script, however, has a basic monster health system which keeps track of monsters by their names. It starts the enemy off at 100 health and for each "hit" it takes away 20 health.

Tutorials: From Noob to Pro
08-14-2011, 08:39 PM
Website Find


Messages In This Thread
Connect Area to Entity - by Phoroneus - 08-14-2011, 07:00 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 07:28 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 07:35 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:09 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 08:39 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:51 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 09:21 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 09:56 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 10:27 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 10:33 PM
RE: Connect Area to Entity - by Your Computer - 08-15-2011, 02:46 AM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 09:42 AM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:31 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:36 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:37 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:40 PM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 01:01 AM
RE: Connect Area to Entity - by Apjjm - 08-15-2011, 01:52 AM



Users browsing this thread: 1 Guest(s)