Beiträge von Pods

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


    There are 2 functions:

    • game.interface.bulldoze(id) (only commonapi console > script thread)
    • api.cmd.sendCommand(api.cmd.make.removeField(id))

    Thank you so much! 🙇 Both of these work for me.

    Oh, yes, that's correct. Sorry for not mentioning that initially.

    EDIT: For what it's worth, the street splitters that this mod adds are still useful and don't appear to be buggy.

    (I apologise profusely if I've created this thread in the wrong place... I'm honestly not entirely sure where would be most appropriate.)

    Is there a way to remove entities by their ID? Alternatively, is there a way to remove them in one fell swoop using the fileName attribute? I've been looking to see if, say, a callable method exists that can accomplish this, but haven't found anything yet. I'm still holding onto a glimmer of hope, though.

    For context: I realised too late that a mod I was using has an intermittent bug that causes its initial construction objects to remain in the world even after demolition. These objects cannot be removed through any of the standard means, and still have just enough collision present to interfere with gameplay (e.g. terrain, building and network construction). CommonAPI2's inspector makes it possible to obtain the IDs of these "phantom" entities (additionally, they all share the same fileName attribute of lollo_street_chunks_2.con - something that might be useful?).



    Cheers.