[ACS] KILL

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Hilarious
New User
Posts: 7
Joined: Thu Feb 15, 2018 12:39 pm

[ACS] KILL

#1

Post by Hilarious » Thu Feb 15, 2018 1:42 pm

Hello folks.

Today i've tried to write some code using this ingame event. But... Failed!
Looks like KILL is not declared, cuz ACS can't compile script. Something with includes, but i'm using fresh .acs from zdoom.org.

Code: Select all

#define KILL_EVENT 943576

script KILL_EVENT KILL
{
//my code
}

User avatar
Ivan
Addicted to Zandronum
Posts: 2219
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

[ACS] Re: KILL

#2

Post by Ivan » Thu Feb 15, 2018 7:02 pm

You need to use recent acs compilers. I think GZDoomBuilder comes with one.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

User avatar
Hilarious
New User
Posts: 7
Joined: Thu Feb 15, 2018 12:39 pm

[ACS] Re: KILL

#3

Post by Hilarious » Fri Feb 16, 2018 12:08 pm

Thanks bro. Used ingame EVENTS instead of KILL.

Post Reply