Discuss all aspects related to modding Zandronum here.
-
Hilarious
- New User
- Posts: 7
- Joined: Thu Feb 15, 2018 12:39 pm
#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
}
-
Ivan
- Addicted to Zandronum
- Posts: 2219
- Joined: Mon Jun 04, 2012 5:38 pm
- Location: Omnipresent
#2
Post
by Ivan » Thu Feb 15, 2018 7:02 pm
You need to use recent acs compilers. I think GZDoomBuilder comes with one.
-
Hilarious
- New User
- Posts: 7
- Joined: Thu Feb 15, 2018 12:39 pm
#3
Post
by Hilarious » Fri Feb 16, 2018 12:08 pm
Thanks bro. Used ingame EVENTS instead of KILL.