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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working combat system !
Author Message
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#34
RE: Working combat system !

(04-05-2012, 12:49 PM)stonecutter Wrote: Added to the code :

PHP Code: (Select All)
for (int i 1i<=2; ++i){
        if(
GetLocalVarInt("MonsterHitCounter_"+i)==4){
             for(
int a 1a<=5; ++a){
             if(
GetEntitiesCollide("gun_target_"+i,"ScriptArea_"+a)==true){
             
FadeEnemyToSmoke("gun_target_"+ifalse);
             
CreateEntityAtArea("Test","corpse_scientist02_ragdoll.ent","ScriptArea_"+a,false);
             }
             
            } 


Now if the enemy dies ... there will be created a ragdoll at the area the enemy dies !
But you have to set a lots of ares ( around the path the enemy walks ) as you can see in the picture !
I suggested the ragdoll to you C:


04-05-2012, 05:05 PM
Find Reply


Messages In This Thread
Working combat system ! - by stonecutter - 04-02-2012, 07:06 PM
RE: Combat System !? - by Statyk - 04-02-2012, 07:47 PM
RE: Combat System !? - by stonecutter - 04-02-2012, 08:16 PM
RE: Combat System !? - by Statyk - 04-02-2012, 08:24 PM
RE: Combat System !? - by stonecutter - 04-02-2012, 08:37 PM
RE: Combat System !? - by Your Computer - 04-02-2012, 09:18 PM
RE: Combat System !? - by stonecutter - 04-02-2012, 09:53 PM
RE: Combat System !? - by Your Computer - 04-02-2012, 09:59 PM
RE: Combat System !? - by stonecutter - 04-02-2012, 10:16 PM
RE: Combat System !? - by Your Computer - 04-02-2012, 10:34 PM
RE: Combat System !? - by stonecutter - 04-02-2012, 10:45 PM
RE: Combat System !? - by Your Computer - 04-02-2012, 11:19 PM
RE: Combat System !? - by Cranky Old Man - 04-02-2012, 11:31 PM
RE: Combat System !? - by Statyk - 04-02-2012, 11:33 PM
RE: Combat System !? - by Adny - 04-03-2012, 12:27 AM
RE: Combat System !? - by stonecutter - 04-03-2012, 11:14 AM
RE: Combat System !? - by stonecutter - 04-03-2012, 12:18 PM
RE: Combat System !? - by stonecutter - 04-03-2012, 02:31 PM
RE: Combat System !? - by stonecutter - 04-03-2012, 07:18 PM
RE: Working combat system ! - by Datguy5 - 04-03-2012, 07:42 PM
RE: Working combat system ! - by stonecutter - 04-03-2012, 07:43 PM
RE: Working combat system ! - by Shadowfied - 04-04-2012, 11:01 AM
RE: Working combat system ! - by Kman - 04-04-2012, 11:06 AM
RE: Working combat system ! - by Shadowfied - 04-04-2012, 11:08 AM
RE: Working combat system ! - by stonecutter - 04-04-2012, 11:26 AM
RE: Working combat system ! - by Shadowfied - 04-04-2012, 11:29 AM
RE: Working combat system ! - by Kman - 04-04-2012, 11:36 AM
RE: Working combat system ! - by Shadowfied - 04-04-2012, 11:40 AM
RE: Working combat system ! - by stonecutter - 04-04-2012, 11:51 AM
RE: Working combat system ! - by Your Computer - 04-04-2012, 09:22 PM
RE: Working combat system ! - by stonecutter - 04-04-2012, 09:26 PM
RE: Working combat system ! - by stonecutter - 04-05-2012, 12:49 PM
RE: Working combat system ! - by Datguy5 - 04-05-2012, 05:05 PM
RE: Working combat system ! - by Statyk - 04-05-2012, 03:36 PM
RE: Working combat system ! - by JetlinerX - 04-05-2012, 08:16 PM
RE: Working combat system ! - by stonecutter - 04-05-2012, 08:36 PM
RE: Working combat system ! - by Hardarm - 04-13-2012, 03:36 PM
RE: Working combat system ! - by stonecutter - 04-13-2012, 06:27 PM
RE: Working combat system ! - by trollox - 04-13-2012, 04:52 PM
RE: Working combat system ! - by DRedshot - 04-15-2012, 01:37 PM
RE: Working combat system ! - by plutomaniac - 04-15-2012, 02:09 PM



Users browsing this thread: 1 Guest(s)