Jump to content
  • 0

Is Zscript usable in level scripting?


illYay1337

Question

I'm familiar with ACS and DECORATE from back in the day.  Zscript seems like a great replacement for Decorate, but I'm slightly confused on whether it's usable in level scripting, or do we still use ACS for everything?  I can't find specific examples of ZScript used in levels, but it seems like a really powerful thing otherwise.

Like if I walk over a linedef I'm familiar with how to trigger a script in ACS, and if that's not possible with ZScript then I guess still use ACS?

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

You can use ScriptCall in ACS to call ZScript functions from a provided class. This is useful for extending ACS beyond previous limits or accessing additional information (ie. the size of a graphic) that ACS was not capable of fetching previously.

Share this post


Link to post
  • 0

Oh cool, I could potentially make a library of more complex things if needed in zscript.  But yeah it sounds like for basic things like an elevator I should be able to just do most things with ACS still.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...