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
|
|
|
24 | ||
|
|
|
14 | ||
|
|
|
65 | ||
|
|
|
34 | ||
|
|
|
10 | ||
|
|
|
3 | ||
|
|
|
1 | ||
|
|
|
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.816139.854+4
- 2.47169.872+6
- 3.244100.709+1
- 4.912309.747+8
- 5.408214.656+3
- 6.743449.623+4
- 7.404289.583+2
- 8.371195.655+1
- 9.1307729.642+1
- 10.347136.718-1
Replay highlight
VS
-
cblanco ★ -
보드카 중대
-
VonManteuffel -
Heartless Jäger
Einhoven Country
Honor it
16
Download
2749
Board Info
625 users are online:
625 guests
0 post in the last 24h
5 posts in the last week
18 posts in the last month
5 posts in the last week
18 posts in the last month
Registered members: 64571
Welcome our newest member, hi88me
Most online: 4501 users on 26 Oct 2025, 01:00 AM
Welcome our newest member, hi88me
Most online: 4501 users on 26 Oct 2025, 01:00 AM