[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
NoX Forum • View topic - How to create a fist trap.

How to create a fist trap.

Everything related to modding, mapping and software or hacks

How to create a fist trap.

Postby ajba » Fri Nov 25, 2016 4:14 am

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.
ajba
Initiate
Initiate
Posts: 7
Joined: Fri Nov 25, 2016 4:06 am

Re: How to create a fist trap.

Postby panic » Fri Nov 25, 2016 9:22 am

try it

CastSpellObjectLocation("SPELL_FIST", self, getObjectX(self), getObjectY(self));
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: How to create a fist trap.

Postby ajba » Fri Nov 25, 2016 2:57 pm

ajba
Initiate
Initiate
Posts: 7
Joined: Fri Nov 25, 2016 4:06 am

Re: How to create a fist trap.

Postby panic » Fri Nov 25, 2016 3:23 pm

wait ... i will show for you.
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: How to create a fist trap.

Postby panic » Fri Nov 25, 2016 5:15 pm

panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: How to create a fist trap.

Postby ajba » Sat Nov 26, 2016 9:13 pm

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.
ajba
Initiate
Initiate
Posts: 7
Joined: Fri Nov 25, 2016 4:06 am

Re: How to create a fist trap.

Postby panic » Sun Nov 27, 2016 5:24 am

you must reference here: ./viewtopic.php?f=54&t=1436
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: How to create a fist trap.

Postby ajba » Sun Nov 27, 2016 2:13 pm

oh No. That looks pretty difficult. Why can't I use the scripting window in my map editor?
ajba
Initiate
Initiate
Posts: 7
Joined: Fri Nov 25, 2016 4:06 am

Re: How to create a fist trap.

Postby panic » Sun Nov 27, 2016 2:45 pm

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.
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm


Return to Modding & Mapping

Who is online

Users browsing this forum: No registered users and 15 guests