Acies 
			Posting Freak73  
	
		
			
Scripting help :) 
 
				Hi! I'm not that good at scripting, it's kind of blunt and ineffective when I do it. I have placed different areas at which pathnodes to a monster is added. The path is either decided randomly, or if the monster previously has searched an area it shouldn't return again.
I just tried it out but he disappeared once he reached pathchoice 1. I'm unsure of how to set up the "if clauses" :/ ... So two things:
1. Why do you think he disappeared? I was close (so shouldn't be distance) - was no pathnodes added? Stuck at something?
2. What I really want: If "changedir" = 1 do that option. Otherwise check the value of "checkedcloak"; if = 0 roll for random search - otherwise continue.
I probably should make my scripting more effective 
Spoiler below!  
 
 
			  ジ
 
			
		 
 
 
	10-01-2011, 02:49 PM  
		
	 
 
	
		DarkSnowman 
			Junior Member0  
	
		
			
RE: Scripting help :) 
 
				may have something to do with the path nodes....
			
			
			
			
				
(This post was last modified: 10-01-2011, 03:04 PM by DarkSnowman .) 
 
				
			 
		 
 
 
	10-01-2011, 02:56 PM  
		
	 
 
	
		Acies 
			Posting Freak73  
	
		
			
RE: Scripting help :) 
 
				Changed some things around; I might have solved it.
			
			
			
  ジ
 
			
		 
 
 
	10-01-2011, 03:19 PM  
		
	 
 
	
		UnseenLegend ( NL ) 
			Member12  
	
		
			
RE: Scripting help :) 
 
				 (10-01-2011, 03:19 PM) Acies Wrote:  maybe you but a timer into it 
			
 
			
			
 
 
 
	10-02-2011, 01:39 PM