Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
LogicDeLuxe

Some Zdoom scripting questions

Recommended Posts

I'm new to Zdoom scripting and I have some questions. (I read the zdoom documentations, they are quite old though)

Is it possible to let one monster kill a very certain other monster?

Can I adjust the health points of a certain monster during the game?

Is there a tutorial showing how to setup the path nodes? Can I change the route of a monster during the game?

Share this post


Link to post
LogicDeLuxe said:

I'm new to Zdoom scripting and I have some questions. (I read the zdoom documentations, they are quite old though)


Looks like you read the wrong version of the documentation then :). The one you should be looking at is constantly being updated, and can be found here.

Share this post


Link to post
LogicDeLuxe said:

I'm new to Zdoom scripting and I have some questions. (I read the zdoom documentations, they are quite old though)

Is it possible to let one monster kill a very certain other monster?


Yes. Look here: http://zdoom.org/wiki/wiki.phtml?title=Thing_Hate


Can I adjust the health points of a certain monster during the game?


Yes. Use the ACS command SetActorProperty(tid, APROP_Health, newhealth);


Is there a tutorial showing how to setup the path nodes? Can I change the route of a monster during the game?

Share this post


Link to post
NiGHTMARE said:

The one you should be looking at is constantly being updated, and can be found here.

Thanks. This should be helpful.

A downloadable version of that documentations would be even better, though.


Another question: Can I declare arrays?

Share this post


Link to post
LogicDeLuxe said:

Another question: Can I declare arrays?


yes

int something[4] = { 1, 5, 3, 9 };

That would go from something[0] to something[3].

I'm not sure if it should be 4 or 3... maybe all my arrays always have another spot.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×