Particels won't work! 
			 
			
				Okay so here's my script :  
 
 
void OnStart() 
{ 
AddEntityCollideCallback("Player", "ScriptArea_1", "Door", true, 1); 
AddEntityCollideCallback("Player", "ScriptArea_1", "Script", true, 1); 
AddEntityCollideCallback("Player", "ScriptArea_2", "Door2", true, 1); 
AddEntityCollideCallback("Player", "ScriptArea_3", "Door1", true, 1); 
AddEntityCollideCallback("Player", "FlyingJesus_1", "Scare", true, 1); 
AddEntityCollideCallback("Jesus_1", "FlyingJesus_1", "Sound", true, 1); 
AddEntityCollideCallback("Player", "PortalArea_1", "Portal", true, 1); 
} 
 
void Door(string &in asParent, string &in asChild, int alState) 
{ 
SetEntityActive("Door_1", true); 
SetEntityActive("ScriptArea_2", true); 
SetEntityActive("ScriptArea_3", true); 
} 
 
void Door1(string &in asParent, string &in asChild, int alState) 
{ 
SetEntityActive("Door_1", false); 
} 
 
void Scare(string &in asParent, string &in asChild, int alState) 
{ 
SetEntityActive("Jesus_1", true); 
AddPropForce("Jesus_1", 0, 0, 0, "World"); 
PlaySoundAtEntity("", "24_iron_maiden.snt", "FlyingJesus_1", 0, true); 
} 
 
void Door2(string &in asParent, string &in asChild, int alState) 
{ 
SetEntityActive("Door_2", true); 
} 
 
void Script(string &in asParent, string &in asChild, int alState) 
{ 
SetEntityActive("ScriptArea_2", true); 
} 
 
void Portal(string &in asParent, string &in asChild, int alState) 
{ 
CreateParticleSystemAtEntity("Portal_1", "Portal_1.ps", "PortalAltar_1", false); 
} 
 
 
//////////////////////////// 
// Run when entering map 
void OnEnter() 
{  
 
} 
 
//////////////////////////// 
// Run when leaving map 
void OnLeave() 
{ 
} 
 
 
But for some reason the Particle that (the demon alike one). Dosen't activate when i hit the area it activates just as i enter the map , andi don't want that. Maybe this script is incorrect , if so please help me :/. 
Trollox.
			 
			
			
			
				
(This post was last modified: 02-05-2012, 07:37 PM by trollox.)
 
				
			 
		 |