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
|
|
|
111 | ||
|
|
|
1085 | ||
|
|
|
11 | ||
|
|
|
7 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.20554.792+12
- 2.1472793.650+7
- 3.1299453.741+3
- 4.323172.653+1
- 5.16376.682+1
- 6.594361.622+5
- 7.613390.611+1
- 8.703284.712+1
- 9.24261.799+2
- 10.354124.741+8
Replay highlight
VS
-
cblanco ★ -
보드카 중대
-
VonManteuffel -
Heartless Jäger
Einhoven Country
Honor it
18
Download
3375
Board Info
1186 users are online:
1 member and 1185 guests
ae888samnet
ae888samnet
1 post in the last 24h
1 post in the last week
11 posts in the last month
1 post in the last week
11 posts in the last month
Registered members: 75016
Welcome our newest member, ae888samnet
Most online: 4501 users on 26 Oct 2025, 01:00 AM
Welcome our newest member, ae888samnet
Most online: 4501 users on 26 Oct 2025, 01:00 AM