10/14/2026 [01:09:30] GMT Home .:. Logout
Forums
Hardmaps.com :: Forums :: Map Making Forum :: Joint Operations
 
<< Previous thread | Next thread >>
Groupdead
Moderators: Hardmaps Administrator, *HmS*Wedge, *HmS*grunt, *HmS*Trevor, *HmS*LongBow
Author Post
NUT ACE
Sat Jan 20 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
Hey guys...

I'm trying to use the groupdead command in WAC.
I've placed (in Nile) all my rebels in one group TEST.
I've put the follwing code in my WAC.
if never () and groupdead(TEST) then
ssntowp(66588,2)
endif


Now when the game starts SSN 66588 immediately goes to Waypointlist 2.

I've tryed to change the code (for testing ) to only one SSN dead, and then it works fine.
What's the problem here??

Back to top
*HmS*Trevor
Sat Jan 20 2007

Registered Member #35
Joined: Tue Dec 30 2003
Location: Lincolnshire England
Posts: 2080
You really need to go to the godfathers of nile site, this is another nile bug i think, maybe you should be using the group number not its name
Back to top
NUT ACE
Sat Jan 20 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
I've looked for it on Godfathers...Couldn't find anything on it.

So I tryed to post on there forum. Registered myself. That worked. I now can log in, but when I try to post my question I get the message that I'm not allowed to post in this forum...

So then I got back here.....
Back to top
*HmS*Tisa
Sun Jan 21 2007
Col.Gawdamnit
Registered Member #564
Joined: Mon Mar 14 2005
Location: Sweden
Posts: 361
well almost all Group commands dont work in nile, ive managed to get groupkill to work, but only if i set it as Gkill(xx) where X is the group name that u specify within niles Grouping function. for instance,, i select 20bgs and put them in a group called L1 in the maps Wac file i write

if never() and (something happend) then
Gkill(L1)
endif

this will kill the members of group L1, works on all destroyable objects as well if they are in the specifed group.

Back to top
*HmS*Tisa
Sun Jan 21 2007
Col.Gawdamnit
Registered Member #564
Joined: Mon Mar 14 2005
Location: Sweden
Posts: 361
grr.. double post

[ Edited Sun Jan 21 2007 ]
Back to top
NUT ACE
Tue Jan 23 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
Thanx Tisa...

Ofcourse I tried to use Gdead... , But that didn't work either...


So now I have to find another solution.. Me thinks a new strategy for my map is needed...(already got something in my mind)..

You'll see..

btw....my next map wil be build in Xmed...(at least ...I will try to)
Back to top
*HmS*Tisa
Wed Jan 24 2007
Col.Gawdamnit
Registered Member #564
Joined: Mon Mar 14 2005
Location: Sweden
Posts: 361
hehe not Gdead, use Gkill.. that works. Gkill(L1) kills all objects and Ais that are made members of group L1 in nile, how to make the group in nile? well, higlight the objects in your object tab that u want to be members in the group, right click on the highlight and choose.. Group.. make new group name it L1 and then Ok.

/Tisa
Back to top
NUT ACE
Thu Jan 25 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635


What we have here, is a slight form of miscommunication.. me thinks...

Didn't want to kill a whole group. I wanted an event to take place after a group is dead.

So I thaught...maybe this command Gdead excists as well..apperently it doesn't...

Oh well...back to the drawing board...
Back to top
*HmS*Tisa
Thu Jan 25 2007
Col.Gawdamnit
Registered Member #564
Joined: Mon Mar 14 2005
Location: Sweden
Posts: 361
Ah.... well yeah hehe, that sets everything in a new perspective... easy to say then, no that will not work with group command since nile doesnt support them, there is a workaound to get your desired results, but that will include fiddling with Variables.

read up on Variables on the godforum site, that will kickstart you in the right direction. then read this: http://s2.forumforfree.com/index.php?mforum=godfather&showtopic=160&st=0&#entry581 i think thats what u are looking for.

happy mapping m8

/Tisa

[ Edited Thu Jan 25 2007 ]
Back to top
NUT ACE
Fri Jan 26 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
Hey Tisa....

Thanx for the link..I'm certainly gonna try this...
So I'm guessing it's normal that you have to type all your ssn's in your wac code.

meaning..If I have, let's say, 50 rebels which have to be killed to end the mission.
I then have to type 50 time's If ssndead(xxxxx) then inc (v10)...

Hmmm that's gonna reek havoc on my RSI

Oh well No pain No game is what we say....

Back to top
*HmS*Tisa
Sat Jan 27 2007
Col.Gawdamnit
Registered Member #564
Joined: Mon Mar 14 2005
Location: Sweden
Posts: 361
Yeah unfortunatly thats what u need to do when using nile, its time comsuming and increasing the size of the wac file wich btw you should never llet exeed over 24kb because then u will get weird things happen, events not firing at, all or firing at their own randomly..

But even here there is a workaround but that includes more advanced variable handling and the use of respawning and teleporting Bgs. but a plus is that u decrease the size of the wac and the physical amount of bgs. ( u simply use the same Bgs multiple time, for eg. 10 bgs in the maps are teleported as they respawn (after being killed) to another location, and if u limit that to 5 times.. u have 50 bgs in all..

to that u add a small counter that keeps track of how many times each of the 10 bgs has died, and when they all have died 5 times each. well something happens.

its also to be found at the GF site ;)

/Tisa


[ Edited Sat Jan 27 2007 ]
Back to top
*HmS*Trevor
Sat Jan 27 2007

Registered Member #35
Joined: Tue Dec 30 2003
Location: Lincolnshire England
Posts: 2080
And all that can be achieved with 1 line in Xmed
Back to top
NUT ACE
Sat Jan 27 2007
picard
Registered Member #1450
Joined: Wed Oct 11 2006
Location: The Netherlands
Posts: 635
1 LINE??

Now I'm certainly gonna switch to Xmed...

Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
All trademarks are copyright their respective owners.
This site is best viewed using 1280-1024 screen resolution.
{THEMEDISCLAIMER}
Render time: 0.1126 sec, 0.0169 of that for queries.