need help on the syntax of swapcolor(), keeps telling me no such proc! I've been using is under an if for an item, to see the shirt is blue then to swap X,X,X with Y,Y,Y
I type itlike this:
SwapColor(X,X,X,Y,Y,Y) help! please... I feel so pathetic... I had V. 306 until yesterday, lol!
ID:149693
Mar 6 2002, 10:55 am
|
|
In response to Nova2000
|
|
ok, answer me this.... WTF is going on here?
Pickaxe var blade = "copper" handle = "pine" icon = 'equipment.dmi' icon_state = "pickaxe" name = "pickaxe" New() CHECKblade() proc CHECKblade() name = "[blade] pickaxe" desc = "This is a roughly made [blade] pickaxe with a [handle] shaft." if (src.blade == "copper") var/icon/I = src.icon I.SwapColor(rgb(255,000,255),rgb(255,102,051)) src.icon = I no errors, no warnings, but when i get() the pickaxe, it just.... disappears... |
Okay, try:
As for the no such proc, the compiler is right. It's saying it doesn't know where to look for it, so: