I followed Eliwood's tutorial using scar but when I load in the game the units can't be moved and the camera zoom out function I added in scar isn't working.
I copy pasted default.win and default.scar codes he used linked in the Youtube video.
			Zoomed Out Camera and WinConditionPack
									22 Feb 2019, 23:53 PM
				
	#1					
								
					
				
		Posts: 54
									26 Feb 2019, 04:57 AM
				
	#2					
								
					
				
		
    		            							
			    		Posts: 756 | Subs: 8
If the game seems like it's "paused", that means you have a fatal SCAR error. You can bring up the console with Control + Shift + ~ to see what it is.
Otherwise, make sure your WCP looks like:
https://github.com/eliw00d/example-win-condition-pack
			
		Otherwise, make sure your WCP looks like:
https://github.com/eliw00d/example-win-condition-pack
									26 Feb 2019, 08:42 AM
				
	#3					
								
					
				
		Posts: 54
If the game seems like it's "paused", that means you have a fatal SCAR error. You can bring up the console with Control + Shift + ~ to see what it is.
Otherwise, make sure your WCP looks like:
https://github.com/eliw00d/example-win-condition-pack
this is what it looks like: https://i.imgur.com/6bQ4gJG.jpg
screenshot of console: https://i.imgur.com/NWFzOvt.jpg
									26 Feb 2019, 14:39 PM
				
	#4					
								
					
				
		
    		            							
			    		Posts: 756 | Subs: 8
You might have to page up to find it.
			
		
									27 Feb 2019, 08:11 AM
				
	#5					
								
					
				
		Posts: 54
You might have to page up to find it.
Ok I went up further and found these 2 parts that say "fail":
https://i.imgur.com/4IahMeT.jpg
https://i.imgur.com/CfEzrCL.jpg
									28 Feb 2019, 04:07 AM
				
	#6					
								
					
				
		
    		            							
			    		Posts: 756 | Subs: 8
You need to have your code inside the WinCondition_Init function or another init function (via Scar_AddInit) in order to make use of SCAR functions.
I would suggest watching https://youtu.be/RnNdGDXOvbQ, or specifically https://youtu.be/RnNdGDXOvbQ?t=164
Also, per the SCAR doc:
- http://www.fortresseuropemod.com/scardoc/
			
		I would suggest watching https://youtu.be/RnNdGDXOvbQ, or specifically https://youtu.be/RnNdGDXOvbQ?t=164
Also, per the SCAR doc:
When the game engine reads your *.scar file, anything in the global scope will be immediately called. This may cause problems as some functions are not meant to be used until the game has loaded up all of its components.
The function Scar_AddInit( FunctionName ) can be used to kick off your script. This tells the game engine "When you are ready, call the function FunctionName first."
- http://www.fortresseuropemod.com/scardoc/
									28 Feb 2019, 07:51 AM
				
	#7					
								
					
				
		Posts: 54
You need to have your code inside the WinCondition_Init function or another init function (via Scar_AddInit) in order to make use of SCAR functions.
I would suggest watching https://youtu.be/RnNdGDXOvbQ, or specifically https://youtu.be/RnNdGDXOvbQ?t=164
Also, per the SCAR doc:
- http://www.fortresseuropemod.com/scardoc/
Woot! I fixed it!
that's the video I had watched and rewatching I saw my mistake. My code was outside the Rule_ AddInterval.
									28 Feb 2019, 22:42 PM
				
	#8					
								
					
				
		
    		            							
			    		Posts: 756 | Subs: 8
Awesome! Glad you fixed it.
			
		PAGES (1)
		
	1 user is browsing this thread: 
	1 guest	
	
		
	
Livestreams
						 					 | 
					
						 | 
					
						 | 
					13 | 
Ladders Top 10
- 
							#Steam AliasWL%Streak
 
- 1.46467.874+6
 - 2.794136.854-1
 - 3.867297.745+3
 - 4.14465.689-1
 - 5.400212.654+2
 - 6.21156.790-2
 - 7.300128.701+2
 - 8.353186.655+2
 - 9.501325.607+4
 - 10.327118.735-1
 
Replay highlight
VS
					- 
									
									cblanco ★								 - 
									
									보드카 중대								 
- 
									
									VonManteuffel								 - 
									
									Heartless Jäger								 
											
						Einhoven Country
						
							
								
									
								
								
								
								
				Honor it
								15
							
						
						
												
							
								
									Download
								2713
							
						
												
					Board Info
						597 users are online:
			1 member			 and 			596 guests
888toptoday
		888toptoday
			0 post in the last 24h
3 posts in the last week
25 posts in the last month
		
		3 posts in the last week
25 posts in the last month
			
			
				Registered members: 62019
Welcome our newest member, 888toptoday
Most online: 4501 users on 26 Oct 2025, 01:00 AM
	Welcome our newest member, 888toptoday
Most online: 4501 users on 26 Oct 2025, 01:00 AM
	
 
 