Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
		
			
				
	
	
		
			17 lines
		
	
	
		
			582 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			582 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| void main()
 | |
| {
 | |
|     object oDoor = GetObjectByTag("ty_labyrinthdoor");
 | |
|     object oSwitcha1 = GetObjectByTag("a1_leverswitch");
 | |
|     object oSwitcha2 = GetObjectByTag("a2_leverswitch");
 | |
|     object oSwitcha3 = GetObjectByTag("a3_leverswitch");
 | |
|     object oSwitcha4 = GetObjectByTag("a4_leverswitch");
 | |
| 
 | |
|     SetLocalInt(oSwitcha1, "a1leverused", 0);
 | |
|     SetLocalInt(oSwitcha2, "a1leverused", 0);
 | |
|     SetLocalInt(oSwitcha3, "a1leverused", 0);
 | |
|     SetLocalInt(oSwitcha4, "a1leverused", 0);
 | |
|     DelayCommand(20.0, ActionCloseDoor(oDoor));
 | |
|     DelayCommand(20.0, ActionLockObject(oDoor));
 | |
| 
 | |
| }
 |