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
![]() |
![]() |
![]() |
29 | ||
![]() |
![]() |
![]() |
22 | ||
![]() |
![]() |
![]() |
142 | ||
![]() |
![]() |
![]() |
40 | ||
![]() |
![]() |
![]() |
22 | ||
![]() |
![]() |
![]() |
15 | ||
![]() |
![]() |
![]() |
15 | ||
![]() |
![]() |
![]() |
12 | ||
![]() |
![]() |
![]() |
11 | ||
![]() |
![]() |
![]() |
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.693240.743+13
- 2.43965.871+3
- 3.315119.726+11
- 4.15651.754+8
- 5.675103.868+1
- 6.10551.673-3
- 7.10929.790+10
- 8.312167.651+3
- 9.279149.652+2
- 10.296134.688+3
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
15

Download
1440
Board Info
313 users are online:
313 guests
2 posts in the last 24h
6 posts in the last week
23 posts in the last month
6 posts in the last week
23 posts in the last month
Registered members: 56312
Welcome our newest member, kuwinprof
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, kuwinprof
Most online: 2043 users on 29 Oct 2023, 01:04 AM