Editing
SetLineActivation
From Eternity Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{ACSFunction| description=Modifies a line's activation type, if it has a special set: who can activate it, from which side, whether it is repeatable. |usage=''void'' '''SetLineActivation'''(''int lineid'', ''int activation''[, ''int repeat'']) |parameters= *''lineid'': ID (tag) of line to modify *''activation'': activation type. Can be: **'''SPAC_None''' or 0: disable the activation **a combination (sum or OR-operation) of the following: ***'''SPAC_Cross''' (1): on player crossing ***'''SPAC_Use''' (2): on player using from first side ***'''SPAC_MCross''' (4): on monster crossing ***'''SPAC_Impact''' (8): on player or monster shooting bullets (hitscans) on line ***'''SPAC_Push''' (16): on player bumping into line ***'''SPAC_PCross''' (32): on projectile crossing line ***'''SPAC_UseThrough''' (64): when player uses it from front side + allow 'passthru' effect ***'''SPAC_AnyCross''' (128): when any of player, monster, projectile or polyobject crosses it ***'''SPAC_MUse''' (256): when monster uses it from front side ***'''SPAC_MPush''' (512): when monster bumps into line ***'''SPAC_UseBack''' (1024): allow using from back side *''repeat'': if greater than 0, then it allows the activation to be repeated. Otherwise, if 0, it removed the "repeatable" attribute. |id=-76}}
Summary:
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
Eternity Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:ACSFunction
(
edit
)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information