RemoveLocation

Everything related to modding

RemoveLocation

Postby freecan » Sun Jan 14, 2018 11:12 pm

What does removeLocation do?

Code: Select all
{
  id: st-sailing
  tripEvents:
  [
    {
      removeLocation:
      {
        ref: loc-ship,
        radius: 999
      }
    }
  ]
}


the above code doesn't seem to remove the ship after traveling a leg

Ideally I want to actually get rid of the ship particle and the location from the map, how can I do that?
freecan
 
Posts: 6
Joined: Tue Jan 09, 2018 10:39 pm

Re: RemoveLocation

Postby riadd » Mon Jan 15, 2018 3:48 pm

removeLocation is a special properties of sprawls entities. It is not a command to be used inside of the event system. There's also an overview of all commands here: https://github.com/Maschinen-Mensch/curiousexpedition

Instead of removeLocation you want to use replaceLocations
User avatar
riadd
Curious Dev
Curious Dev
 
Posts: 825
Joined: Thu May 22, 2014 11:36 am
Location: Berlin


Return to Modding

Who is online

Users browsing this forum: No registered users and 2 guests