Page 1 of 1
How to create a fist trap.

Posted:
Fri Nov 25, 2016 4:14 am
by ajba
Hello Nox people!
Could someone of you those more experienced explain me how to create such a trap like there is in Tomb of Valor the big stone fist?
I've already copied the entire script from that map into my map but I have no idea how to attach it to some event on my map.
Thanks a lot.
Re: How to create a fist trap.

Posted:
Fri Nov 25, 2016 9:22 am
by panic
try it
CastSpellObjectLocation("SPELL_FIST", self, getObjectX(self), getObjectY(self));
Re: How to create a fist trap.

Posted:
Fri Nov 25, 2016 2:57 pm
by ajba
Re: How to create a fist trap.

Posted:
Fri Nov 25, 2016 3:23 pm
by panic
wait ... i will show for you.
Re: How to create a fist trap.

Posted:
Fri Nov 25, 2016 5:15 pm
by panic
Re: How to create a fist trap.

Posted:
Sat Nov 26, 2016 9:13 pm
by ajba
Oh thank you for such a nice tutorial.
But I am still having a problem to understand. I think we are not using same map editor or something.
What is the black interface scripting window? I don't recognize that at all and all the scripts don't work in my editor either.
Re: How to create a fist trap.

Posted:
Sun Nov 27, 2016 5:24 am
by panic
Re: How to create a fist trap.

Posted:
Sun Nov 27, 2016 2:13 pm
by ajba
oh No. That looks pretty difficult. Why can't I use the scripting window in my map editor?
Re: How to create a fist trap.

Posted:
Sun Nov 27, 2016 2:45 pm
by panic
It is designed similar to the c language.
So basically, anyone who has learned c can easily learn.
also, 3.0 triggers provide that syntax highlighting and auto complete.
You simply attach the compiled obj file to the map.