I'm about to tear my hair out here because for the past few hours I've been trying to get a SIMPLE scar file working. I saved it as the same name as the map name, saved it as a scar file, saved it in the same location as the map is saved at, even have a scar marker in the map, exported all that, and whenever I try the map the map starts out as a standard match with standard everything.
What am I doing wrong here, somebody please help me.
scar file doesn't seem to be working
20 Dec 2014, 19:14 PM
#1
![avatar of Vangruffe](/uploads/avatar/13149.jpg?updated=1528111082)
Posts: 139
20 Dec 2014, 20:16 PM
#2
![avatar of Janne252](/images/avatars/april14_07.png?updated=1398148404)
![Admin Black Badge](/images/badges/badge_ADMIN.png)
![Patrion 1](/images/badges/crowdfunding/patron_1.png)
Posts: 3421 | Subs: 11
Post your scar code please.
20 Dec 2014, 20:43 PM
#3
![avatar of Vangruffe](/uploads/avatar/13149.jpg?updated=1528111082)
Posts: 139
Post your scar code please.
Code
import("ScarUtil.scar")
function OnGameSetup()
Resources_Disable()
player1 = World_GetPlayerAt(1)
player2 = World_GetPlayerAt(2)
player3 = World_GetPlayerAt(3)
player4 = World_GetPlayerAt(4)
player5 = World_GetPlayerAt(5)
player6 = World_GetPlayerAt(6)
player7 = World_GetPlayerAt(7)
player8 = World_GetPlayerAt(8)
Setup_Player(player1, "aef", 1)
Setup_Player(player2, "aef", 1)
Setup_Player(player3, "aef", 1)
Setup_Player(player4, "aef", 1)
Setup_Player(player5, "aef", 2)
Setup_Player(player6, "aef", 2)
Setup_Player(player7, "aef", 2)
Setup_Player(player8, "aef", 2)
end
21 Dec 2014, 01:19 AM
#4
![avatar of trigg](/images/avatars/april14_06.png?updated=1398148398)
Posts: 139
Code
import("ScarUtil.scar")
function OnGameSetup()
-- snipped your code for brevity
end
I just replied to your post on Steam. For the sake of anyone finding this thread instead, add after the end of your function definition:
Code
Scar_AddInit(OnGameSetup)
PAGES (1)![down](/images/buttons/down_arrow.png)
![down](/images/buttons/down_arrow.png)
1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
197 | ||
![]() |
![]() |
![]() |
90 | ||
![]() |
![]() |
![]() |
60 | ||
![]() |
![]() |
![]() |
18 | ||
![]() |
![]() |
![]() |
18 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.42463.871+2
- 2.659233.739+2
- 3.300162.649+1
- 4.286110.722-2
- 5.12543.744+3
- 6.310114.731+6
- 7.193100.659+3
- 8.10829.788+9
- 9.370283.567+3
- 10.1171650.643+2
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger
![Einhoven Country](/images/maps/4p_enhoven_country.jpg)
Einhoven Country
![Honor](/images/buttons/HONOR_icon.png)
Honor it
13
![Download](/images/buttons/DOWNLOAD_icon.png)
Download
1317
Board Info
1213 users are online:
1213 guests
0 post in the last 24h
4 posts in the last week
42 posts in the last month
4 posts in the last week
42 posts in the last month
Registered members: 51781
Welcome our newest member, Horbe22677
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Horbe22677
Most online: 2043 users on 29 Oct 2023, 01:04 AM