This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum rules

Item's trouble with command trigger.

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
Shock
Superfighter
Superfighter
Posts: 312
Joined: Sun Mar 20, 2016 7:17 am
Title: Content-maker
SFD Account: Shock
Started SFD: Pre-Alpha 1.2.0.
Location: Belarus
Gender:
Age: 24
Contact:

Item's trouble with command trigger.

Post by Shock » Fri Aug 03, 2018 5:38 pm

I'll make little map example for you while you read this topic , make sure , that you are SFD dev , otherwise just go away(said not for mapmakers or scripters) , there's trouble with items. When you have connected PlayerMoveToPosition to an item , which is actually can be taken , and if someone takes this object , the item being destroyed or something like this and the player which is connected to be movable for this object = moves to place where the object was taken = destroyed.

Map link
0 x
-Content-maker.

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1887
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 36

Post by Gurt » Fri Aug 03, 2018 9:36 pm

Everything is by design as far as I can tell.
The MoveToPosition command only registers a position to move to. In this case you have selected the suitcase as a position. Whatever happens to the suitcase, whether it is moved or destroyed or picked up, the MoveToPosition command will move the player to the position the suitcase were at the time the command was activated.
Note: I have tried this in the upcoming release version of SFD and it works as intended here.
1 x
Gurt

Locked