gohamvsgoku
Member
- Joined
- Aug 21, 2017
- Messages
- 151
- Reaction score
- 9
How can i execute this, using movements script.
If the player get the storageValue stopped under the sqm with stepIn function the local text dont open yes?
Well...
Have a function to check is the player is there In position to execute the script here?
Example, if the player is there stopped on position A, or postion B and receive storage1100,1
Position A: 3461,2361,7
Position B: 3451,2371,7
Execute this part:
if player:getStorageValue(1100) >= 1 then
local text = 'You have found a new cave'
player:showTextDialog(item:getId(), text)
end
If the player get the storageValue stopped under the sqm with stepIn function the local text dont open yes?
Well...
Have a function to check is the player is there In position to execute the script here?
Example, if the player is there stopped on position A, or postion B and receive storage1100,1
Position A: 3461,2361,7
Position B: 3451,2371,7
Execute this part:
if player:getStorageValue(1100) >= 1 then
local text = 'You have found a new cave'
player:showTextDialog(item:getId(), text)
end