Does DamageCreeper work on AntiCreeper?

Started by GameGibu, January 04, 2016, 10:02:07 PM

Previous topic - Next topic

GameGibu

Question is in Topic, thanks in advance to whoever figures this out or points me to the appropriate forum page!  ;D ;D

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

Builder17

#1
I think it doesn't damage AC , but why you want it to do so?
Could there be any way to go around this problem?
GetCreeper for AC in current coords and then SetCreeper of amount of AC maybe?

GameGibu

I'm trying to write my own basic sleeper from the ground up so I can compare it with the existing templates. I don't know at this point whether I will write an AI for it, because I have not built up many scripts yet.

Hmmm...emulate packets by adding a nodepath to a list on the sleeper core.
Maybe...
-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

Builder17

Sleeper weapons shoot creeper , right? It does damages AC. AC is found using GetNearestGroundEnemy command.
Search function of Notepad ++ is pretty useful in sleeper scripts for example.

GameGibu

I want to write my own limited sleeper from the ground up.
I would like to have a weapon that does negative damage, decreasing AC but not creating Creeper in the process. Or maybe I just inelegantly overwrite the creeper in the area using my custom function FillSetCreeper.

But if I could use the built-in function with just a negative damage value, that would work much nicer.

-GameGibu
Bringing you Custom maps since 2971!
☆CRPL Master☆

Builder17


J

Quote from: Builder17 on January 05, 2016, 01:06:19 PM
Maybe SetCreeper eq 0 ?
That should be '<coords> 0 SetCreeper', eq is a comparison operator, remember the R in CRPL stands for 'Reverse', first arguments, then command.

Using a custom combination Get/Set/AddCreeper always works.

GameGibu

yeah maybe I build a function that takes an amount away from an area but for each square it cannot exceed the amount of AC there.

-GameGibu

"woohoo, another week of using this tiny screen instead of a holographic intergalactic keyboard"
-myself, a few minutes ago
Bringing you Custom maps since 2971!
☆CRPL Master☆