script:world_event:stopeffectonposition
stopEffectOnPosition
- Parameters and types:
- x,y,z: numberposition
- particleId: numberspecial effect id
- Return value and type:
- code: numberSuccess (ErrorCode.OK) ErrorCode
- The main function of this method: Stop the special effects at the specified position
- The specific use cases are as follows:
--Stop the specified special effect at the specified position --The first three parameters are the position coordinates of the stopped special effect --The last parameter is the special effect id to be stopped World:stopEffectOnPosition(0,7,0,1001) --Display in the chat box Chat:sendSystemMsg("Stopped the 1001 smoke special effect at height 7 (0,0)")
script/world_event/stopeffectonposition.txt · Last modified: 2024/06/10 14:11 by don