Jump to content
Sign in to follow this  
JohnKalo

Buildings via trigger problem

Recommended Posts

Look guys. What I am facing here is really perplexing and annoying.

In my last mission I have placed triggers which place buildings in certain locations on the map. Everything works well when I edit or play it on my first computer. But when I use my other computer(the one that is used to make the server) so as for us to play mp, something odd happens.

The first time I play the mission all is well. But the second or third time the buildings which are placed via trigger exist two or three times accordingly. As it seems every time I restart the mission, the buildings are placed again and again.

I have "solved" this problem by erasing my saved mp mission file from my "documents". My problem is that I don't want to release a mission which requires the save files to be erased every time.

In the trigger I use the createVehicle command.

Any ideas would be more than helpful...

Share this post


Link to post
Share on other sites

trigger condition:

Isserver

Trigger on act:

_house = createVehicle ["house class name", _pos, [], 0, "CAN_COLLIDE"] ;

Share this post


Link to post
Share on other sites

Thanks.

I have already implemented this in my mission and I will be testing it soon...

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  

×