Hi folks,
how can i test, that an eg_group is owned by Player World?
The scar-sript i use is testing the "normal" Players,but how can i find out, when Player World owns this eg_group?
for i = 1 , World_GetPlayerCount() do
if EGroup_IsCapturedByPlayer(eg_resource,World_GetPlayerAt(i) , ANY) then
--stuff
end
end
Any ideas?
In the moment i solve the problem on this way:
for k=1,2 do -- two resources
factory_owner_world[k]=0 -- owner is world
for j=1,World_GetPlayerCount() do
if EGroup_IsCapturedByPlayer(eg_resource[k],World_GetPlayerAt(j) , ANY)
factory_owner_world[k]=j -- a player owns the resourece
end
end
if factory_owner_world[k]==0 then
-- do stuff
end
end
Pls. excuse my bad english.
greetings
-ernesto-
Owner of EG_GROUP is Player WORLD
15 May 2015, 08:36 AM
#1

Posts: 42
PAGES (1)

1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
17 | ||
![]() |
![]() |
![]() |
6 | ||
![]() |
![]() |
![]() |
144 | ||
![]() |
![]() |
![]() |
88 | ||
![]() |
![]() |
![]() |
8 | ||
![]() |
![]() |
![]() |
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.46167.873+3
- 2.780131.856+1
- 3.13961.695+3
- 4.400212.654+2
- 5.327117.736+4
- 6.325146.690-1
- 7.494319.608+5
- 8.856232.787+3
- 9.735445.623+2
- 10.269142.655+10
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
15

Download
2697
Board Info
0 post in the last 24h
5 posts in the last week
23 posts in the last month
5 posts in the last week
23 posts in the last month
Registered members: 61362
Welcome our newest member, happyonemori
Most online: 2195 users on 29 Sep 2025, 11:39 AM
Welcome our newest member, happyonemori
Most online: 2195 users on 29 Sep 2025, 11:39 AM