Jump to content
Sign in to follow this  
Snowflake

Trigger problem

Recommended Posts

Hi,

i made a ctf with an antispawnhide script. if both flags are taken and a flagcarrier enters his spawn the flag will be returned. simple script with check if for example eflagtaken and ownerW inlist hide... in preview everything works fine - i take flag, ai takes my flag, i drive into my spawn flag returns. same happens if i play it on my computer as server. but if the map is uploaded on a dedicated server the trigger seems to move and flag is returned even if i only want to go to my own flag...

any suggestions how to solve that problem? smile.gif

thx

greetz

Snowflake

Share this post


Link to post
Share on other sites

hmmm...sounds like the trigger is being executed without activation. What are the perameters you are using for your trigger?

Share this post


Link to post
Share on other sites

trigger name: hidee

condition: (ownerW in list hidee) or (vehicle ownerW in list hidee)

on activation: [] exec "spawnhideE.sqs"

;spawnhideE.sqs

?!(EFlagtaken) : exit

#punish

TitleText ["Penalty for hiding flag near spawn!\nThe NATO flag will be returned", "Plain Down"]

hint ""

FlagW setFlagOwner objNull

ownerW=objNull

Wflagtaken=false

~5

titletext ["","PLAIN DOWN",2]

Exit

;end spawnhideE.sqs

it works perfectly in preview mode and with my computer as server. but if some other players play the map, the trigger is screwed up somehow...

greetz

snowflake

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  

×