Scud 0 Posted August 20, 2004 Just want to make a certain part of the model dissapear in the game at a given point. Simple hmmm I know the numbered selection is right coz if I start with it hidden it works (its hidden). but I need it visible at the begining then using _plane setobjecttexture [44,""] it should dissapear - but it doesn't. Share this post Link to post Share on other sites
Scud 0 Posted August 21, 2004 Ok have worked it out. It seems I had to start with the hidden selection, texture it at very start and then hide it again later on. Which was a hassel being a multi part and multi textured selection. Oh well $#it happens. Share this post Link to post Share on other sites
.granQ. 0 Posted August 25, 2004 if you find some way to make it work in MP please let me know. Share this post Link to post Share on other sites
Scud 0 Posted August 25, 2004 what exactly doesn't work in MP? Share this post Link to post Share on other sites
.granQ. 0 Posted August 25, 2004 if you have a init eventhandler that does the trick it will only run on server. Share this post Link to post Share on other sites
DanAK47 1 Posted August 25, 2004 Use time condition to check if a game has been loaded, otherwise your texture will disappear. I would recommend having only one script use this condition otherwise with a lot of units your CPU will get bogged down.. In the plane's init script add it to a list, eg PlaneList, and in the player execed (make sure it is only executed once) script have the time condition, then {_x setobjecttexture blahblahblah} forEach PlaneList. In multiplayer the init eventhandler should handle everything, provided you do not exit it with a "local _plane" thing.. SetObjectTexture is local only and every machine must execute the script (or at least that part of it) for the given plane even if it is not local to them.. Share this post Link to post Share on other sites
Scud 0 Posted August 25, 2004 I don't play MP but I am sure I read that this problem was fixed. Share this post Link to post Share on other sites