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
enemy path nodes
Quotentote Offline
Member

Posts: 118
Threads: 23
Joined: Dec 2011
Reputation: 11
#7
RE: enemy path nodes

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""armorfall_area""armorfallsdown"true1);
}
void armorfallsdown(string &in asParentstring &in asChildint alState)
    {
        
AddPropImpulse("armor_01", -3.0f0.0f0.0f"world");
        
StartScreenShake(0.30.520.8);
        
PlaySoundAtEntity("""explosion.snt""roll_2"0false);
        
SetEntityActive("armor_001"false);
        
SetEntityActive("armor_002"false);
        
SetEntityActive("armor_003"false);
        
SetEntityActive("r1"true);
        
SetEntityActive("r2"true);
        
SetEntityActive("r3"true);
        
SetEntityActive("r5"true);
        
SetEntityActive("r6"true);
        
SetEntityActive("a1"true);
        
SetEntityActive("a2"true);
        
SetEntityActive("a3"true);
        
SetEntityActive("a4"true);
        
SetEntityActive("a5"true);
        
SetEntityActive("a6"true);
        
SetEntityActive("a7"true);
        
AddTimer(""1.5"TimerRock1");    
        
SetPropHealth("door_valve_open"0.0f);
        
SetEntityActive("DestroyBoxGate"true);
        
SetEntityActive("waterlurker_1"true);
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_1"2"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_2"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_3"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_4"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_5"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_6"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_7"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_8"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_9"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_10"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_11"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_12"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_13"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_14"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_15"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_16"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_17"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_18"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_19"0"");
                  
AddEnemyPatrolNode("waterlurker_1""PathNodeArea_20"0"");
    } 

http://img198.imageshack.us/img198/9037/...nntrop.jpg
(This post was last modified: 02-02-2012, 04:26 PM by Quotentote.)
02-02-2012, 04:25 PM
Find


Messages In This Thread
enemy path nodes - by Quotentote - 02-02-2012, 04:10 PM
RE: enemy path nodes - by Your Computer - 02-02-2012, 04:14 PM
RE: enemy path nodes - by Quotentote - 02-02-2012, 04:14 PM
RE: enemy path nodes - by Your Computer - 02-02-2012, 04:17 PM
RE: enemy path nodes - by Quotentote - 02-02-2012, 04:18 PM
RE: enemy path nodes - by Your Computer - 02-02-2012, 04:22 PM
RE: enemy path nodes - by Quotentote - 02-02-2012, 04:25 PM
RE: enemy path nodes - by Your Computer - 02-02-2012, 04:42 PM
RE: enemy path nodes - by Quotentote - 02-02-2012, 04:43 PM
RE: enemy path nodes - by palistov - 02-02-2012, 05:41 PM



Users browsing this thread: 1 Guest(s)