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
![]() |
![]() |
![]() |
36 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.42963.872+7
- 2.52875.876+1
- 3.302163.649+2
- 4.12644.741-1
- 5.312114.732+8
- 6.289112.721+1
- 7.14760.710-2
- 8.271158.632+2
- 9.6717.798+5
- 10.13665.677+4
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
13

Download
1329
Board Info
1419 users are online:
1419 guests
5 posts in the last 24h
33 posts in the last week
59 posts in the last month
33 posts in the last week
59 posts in the last month
Registered members: 52195
Welcome our newest member, nhatvipplus1
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, nhatvipplus1
Most online: 2043 users on 29 Oct 2023, 01:04 AM