I cant get mist command to work on crpl

Started by pigglebear, December 31, 2015, 09:27:30 PM

Previous topic - Next topic

pigglebear

can someone help me this code does not work.

"CurrentCoords 90 1 1 CreateMist"

it just spawns mist on the left side of the map. I'm new to crpl so it may be a silly mistake.
2
E=mc

Builder17

#1
CreateMist wants pixel number instead cell number to work . Use CellToPixel command.

CellToPixel(CurrentCoords) -1 90 1 1  CreateMist requists 4 colors you have only 3.

This first number before Red green and blue sets transparency of mist.

You are wanting red mist?


kwinse

Quote from: Builder17 on January 01, 2016, 03:37:21 AM
CreateMist wants pixel number instead cell number to work . Use CellToPixel command.

CellToPixel(CurrentCoords)
Why not just use CurrentPixelCoords?