I have /obj/Pieces/Lich.
/obj/Pieces has a verb called Attack Roll.
How do I:
1) Just make the Lich lose the Attack Roll verb, no matter what
2) Make Lich lose the attack roll if its unspawned variable = 1 and gain it again when its unspawned variable = 0
ID:168959
![]() Aug 10 2005, 12:20 am
|
|
If you can't even test a variable to see if it equals a certain value, then you shouldn't be posting in 'code problems'. You should be reading up on if(), and read just about ANY demo, as they will most likely have an if() statement to test variables.
|
I know very well how if works.
But if cannot just be placed in /obj/Pieces/Lich. It will need something to trigger. I need it to trigger, say, every 2 seconds. But I don't know how to do that. |
Create a proc:
obj/Peices/Lich/proc |
proc/FunTimeCheckerForTheUglyLich() |
Jamesburrow wrote:
Create a proc: obj/Peices/Lich/proc Beat me to it. >:( |
eg