XIDPawn
Class exclamation

source: C:\XIII\XIDPawn\Classes\exclamation.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Effects
         |
         +--XIDPawn.exclamation
Direct Known Subclasses:ExclaBarfight

class exclamation
extends Engine.Effects

//============================================================================= // exclamation. //=============================================================================
Variables
 bool bCreation
 bool bMonte
 float grandissement


Function Summary
 void PostBeginPlay()
 void timer()



Source Code


00001	//=============================================================================
00002	// exclamation.
00003	//=============================================================================
00004	class exclamation extends Effects;
00005	
00006	var float grandissement;
00007	var bool bMonte;
00008	var bool bCreation;
00009	
00010	function PostBeginPlay()
00011	{
00012		bCreation=true;
00013	   bMonte=true;
00014	   grandissement=-0.1;
00015		settimer2(0.28,false);
00016	}
00017	
00018	event tick(float dt)
00019	{
00020	  	super.tick(dt);
00021	  	if (bCreation)
00022		{
00023			if (bMonte)
00024			  	grandissement+=3*dt;
00025			else
00026				grandissement-=3*dt;
00027	  		self.setdrawscale(1+grandissement);
00028		}
00029	}
00030	
00031	event timer2()
00032	{
00033	   if (bMonte)
00034		{
00035			settimer2(0.25,false);
00036			bMonte=false;
00037		}
00038		else
00039			bCreation=false;
00040	}
00041	
00042	function timer()
00043	{
00044		 destroy();
00045	}
00046	
00047	
00048	
00049	defaultproperties
00050	{
00051	     Texture=Texture'XIIIMenu.HUD.exclamation'
00052	}

End Source Code