Everything related to modding


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

What does removeLocation do?

Code: Select all
  id: st-sailing
        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?
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:

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

Return to Modding

Who is online

Users browsing this forum: No registered users and 1 guest