## XIDPawn
Class Prock03_PointPlanque

source: C:\XIII\XIDPawn\Classes\Prock03_PointPlanque.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Keypoint
             |
             +--XIDPawn.GenFRD
                |
                +--XIDPawn.GrenadeTarget
                   |
                   +--XIDPawn.Prock03_PointPlanque

Direct Known Subclasses:None

class Prock03_PointPlanque
extends XIDPawn.GrenadeTarget

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Variables
`array` | `Breakable_Associe`

Function Summary
`void` | `postbeginplay()`
`void` | `timer()`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class Prock03_PointPlanque extends GrenadeTarget;
    00005	//des BM sont associes pour definir si la planque est encore bonne
    00006	var() array<XiiiMover> Breakable_Associe;
    00007
    00008	function postbeginplay()
    00009	{
    00010	   super.postbeginplay();
    00011	   settimer(1,true);
    00012	}
    00013
    00014	function timer()
    00015	{
    00016	   local int i;
    00017	   if (Breakable_Associe.length>0)
    00018	   {
    00019	      for (i=0;i<Breakable_Associe.length;i++)
    00020	      {
    00021	         if (Breakable_Associe[i]!=none && !Breakable_Associe[i].bdeleteme)
    00022	           return;
    00023	      }
    00024	   }
    00025	   bactive=false;
    00026	   gotostate('');
    00027	}
    00028
    00029
    00030
    00031
    00032	defaultproperties
    00033	{
    00034	}

End Source Code