Blockland Forums > Modification Help
Changing cursor color via script?
infiniteLoop:
--- Quote from: Space Man on July 29, 2011, 11:50:11 AM ---I didn't quite get this :o?
--- End quote ---
I'm not sure if this will work, but give it a shot..
myCursor.bitMap.setColor(%color);
Space Man:
--- Quote from: infiniteLoop on July 29, 2011, 11:53:12 AM ---I'm not sure if this will work, but give it a shot..
myCursor.bitMap.setColor(%color);
--- End quote ---
It says that it cannot find object "(BITMAPPATHHERE)" attempting to call function "setColor"
because bitmap isn't an object?
infiniteLoop:
Try doing
myCursor.dump();
Space Man:
--- Quote from: infiniteLoop on July 29, 2011, 12:58:48 PM ---Try doing
myCursor.dump();
--- End quote ---
--- Quote ---==>myCursor.dump();
Member Fields:
bitmapName = "filepathhere"
hotSpot = "1 1"
Tagged Fields:
renderOffset = "0 0"
Methods:
addScheduledEvent() -
cancelEvents() -
clearEvents() -
clearNTObjectName() -
delete() - obj.delete()
dump() - obj.dump()
dumpEvents() -
getClassName() - obj.getClassName()
getGroup() - obj.getGroup()
getId() - obj.getId()
getName() - obj.getName()
getType() - obj.getType()
processInputEvent() -
save() - obj.save(fileName, <selectedOnly>)
schedule() - object.schedule(time, command, <arg1...argN>);
serializeEvent() -
serializeEventToString() -
SetEventEnabled() -
setName() - obj.setName(newName)
setNTObjectName() -
ToggleEventEnabled() -
--- End quote ---
Doesn't look too good... D:?
Space Man:
So I guess this can't be done?
:c?