Jump to content
Sign in to follow this  
VanhA-ICON

countSide on dedicated

Recommended Posts

I'm having doubts of this working on dedicated:

OPFOR PRESENT
Cond: (EAST countside thislist <= 8)

It works fine checking on editor. When the enemy group is reduced to 7 it counts it fine but when I tried it on dedicated it did not seem to function so well.

I'm sure it should work that way but just in case is there a way to force it to comply with dedicated?

Share this post


Link to post
Share on other sites

You don't need OPFOR PRESENT. Try NONE as activation.

Activated by: NONE
Condition: (EAST countside thislist) <=8

or you try

Activated by: OPFOR
Condition: (count thisList) <=8

Share this post


Link to post
Share on other sites

I'm think he need to set "Activated by" to EAST or ANY to be able to count the list.

If you have a hint in the "On Act." field you wont be able to see it on a dedi!

Share this post


Link to post
Share on other sites
I'm think he need to set "Activated by" to EAST or ANY to be able to count the list.

If you have a hint in the "On Act." field you wont be able to see it on a dedi!

Yes, the trigger is activated by OPFOR/present.

On activation field is a command line to run outro

[] exec "scripts\outro.sqs"

It works fine locally. Is it needed to add "isServer" also as condition maybe?

(isServer) && ((count thisList) <= 8)

Is it possible that it's also counting some of buildings as "east" or something?

Edited by VanhA-ICON
idea

Share this post


Link to post
Share on other sites

isserver will make sure it's not run on clients :P

If you can't find out whats wrong with it, just do something like:

Trigger 1:

OPFOR PRESENT

Cond: (EAST countside thislist <= 8)

onAct: end = true; publicvariable "end"

Trigger 2:

Cond: end

onAct: [] exec "scripts\outro.sqs"

Share this post


Link to post
Share on other sites
isserver will make sure it's not run on clients :P

If you can't find out whats wrong with it, just do something like:

Trigger 1:

OPFOR PRESENT

Cond: (EAST countside thislist <= 8)

onAct: end = true; publicvariable "end"

Trigger 2:

Cond: end

onAct: [] exec "scripts\outro.sqs"

Good idea, better to have double backup instead of pissing against the wind

:rolleyes:

Thanks guys.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×