ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:changeflag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

new:changeflag [2018/02/18 18:03]
korshun created
new:changeflag [2018/02/18 18:04] (current)
korshun
Line 6: Line 6:
 ACSUtils provides an implementation of [[zdoom>​A_ChangeFlag]] for ACS. Before using it, you need to add ''​decorate/​changeflag.txt''​ from ACSUtils to your mod. ACSUtils provides an implementation of [[zdoom>​A_ChangeFlag]] for ACS. Before using it, you need to add ''​decorate/​changeflag.txt''​ from ACSUtils to your mod.
  
-ZDoom later added its own version, [[zdoom>​SetActorFlag]],​ but it's not available in Zandronum 3.0.+It works by defining two inventory items for every flag. When given, one of them calls ''​A_ChangeFlag("​FLAGNAME",​ true)'',​ and the other ''​A_ChangeFlag("​FLAGNAME",​ false)''​. 
 + 
 +ZDoom later added its own ACS function to do the same, [[zdoom>​SetActorFlag]],​ but it's not available in Zandronum 3.0.
new/changeflag.txt · Last modified: 2018/02/18 18:04 by korshun