Hi!
I finally got "permition" to take my computer and put it next to another to try out my multi player levels. Then I found some BIG problems... I fixed a few camera problems like adding the COG flags=0x240. And I did this too all COGs where only the Server got the message and not the client... But now I've come across something very wierd...
ThingLight!
When I press a switch, only the server sees the light turn on. I tried different flags but same result (apart from 240, there only the presser saw the light). How do I do so that anyone sees the light when anyone presses the switch?
/Edward
I finally got "permition" to take my computer and put it next to another to try out my multi player levels. Then I found some BIG problems... I fixed a few camera problems like adding the COG flags=0x240. And I did this too all COGs where only the Server got the message and not the client... But now I've come across something very wierd...
ThingLight!
When I press a switch, only the server sees the light turn on. I tried different flags but same result (apart from 240, there only the presser saw the light). How do I do so that anyone sees the light when anyone presses the switch?
Code:
# Press Control panel to activate lights att full! # # By Edward symbols message startup message activated thing controlpannel thing light flex amount int on=0 local sound lighton sound lightoff end code startup: thinglight(light,0,0.0); return; activated: If(GetSenderRef()!=controlpannel) Return; If(on==0) { PlaySoundThing(lighton,controlpannel,1,1,100,0xC0); on=1; thinglight(light,amount,0.0); } else { PlaySoundThing(lightoff,controlpannel,1,1,100,0xC0); on=0; thinglight(light,0,0.0); } Return; end
/Edward