It is currently Mon Jun 26, 2017 1:10 am


Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
 Post subject: Weird ACS/Decorate problem
PostPosted: Sun Sep 29, 2013 5:59 pm 
Spider mastermind
Spider mastermind
User avatar

Joined: Mon Dec 20, 2010 3:52 pm
Posts: 844
Location: Finland
I just did some testing.. It's really weird. I'm trying to get a script execute when a monster dies..
I have this in the monster's death state:

Code:
   Death:
   SPOS H 0 ACS_ExecuteAlways(500)
    SPOS H 5
    SPOS I 5 A_Scream
    SPOS J 5 A_NoBlocking
    SPOS K 5
    SPOS L -1
    Stop


The test script that should execute is like this (straight from ZDoom Wiki xD):

Code:
Script 500 (void)
{
print(s:"\cgRoses are red\n\chViolets are blue\n\cjSilver for me\n\cfGold for you");
}


Now the thing here is, that when the monster dies, nothing happens... BUT! When I put that very same ACS_ExecuteAlways command in my pistol's fire state and fire, the script executes like it should..? Don't know what is happening here...

_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: Weird ACS/Decorate problem
PostPosted: Sun Sep 29, 2013 8:35 pm 
Cyberdemon
Cyberdemon
User avatar

Joined: Mon Mar 14, 2011 11:34 am
Posts: 1839
Location: MAP30
Are you sure you aren't missing " or ; somewhere?

_________________
Image Image Image Image Image Image ImageImage


Top
 Offline Profile  
 
 Post subject: Re: Weird ACS/Decorate problem
PostPosted: Mon Sep 30, 2013 1:00 am 
Spider mastermind
Spider mastermind
User avatar

Joined: Mon Dec 20, 2010 3:52 pm
Posts: 844
Location: Finland
Im pretty sure... what makes this weird is that the script works as long as its not called from the monster's death state. It's also weird that I looked from ZDoom Wars and it's creatures call scripts in their death states the same way Im trying and they work just fine :lol:

_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: Weird ACS/Decorate problem
PostPosted: Mon Sep 30, 2013 8:22 pm 
Cyberdemon
Cyberdemon
User avatar

Joined: Mon Mar 14, 2011 11:34 am
Posts: 1839
Location: MAP30
Is your compiler up to date?

_________________
Image Image Image Image Image Image ImageImage


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron


Free forum hosting is powered by phpBB. Style by Daniel St. Jules of Gamexe.net.