Errrr how do I call an ACS script in decorate?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Errrr how do I call an ACS script in decorate?

Post by PaganRaven »

I can't find anything in the decorate command list. I wanna make an inventory item call a script which is in the library file. help me. tell me the function and i'll gladly delete this topic.
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

i think its

ACS_Execute(script number, arg1, arg2, arg3)
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Post by PaganRaven »

wow i lack common sense.

EDIT: Wow, great, it worked! I know it seemed like a small, insignifficant matter, but you really helped me out a lot with that =). Now...... how do i delete the topic? The "Delete this post" option doesn't show up in my first post!
User avatar
solarsnowfall
Posts: 1581
Joined: Thu Jun 30, 2005 1:44 am

Post by solarsnowfall »

Unless a mod deems it worthy of removal, you must suffer the humiliation of making this thread until it drops from the page.

Oh, and it's ACS_Execute(script number, map number, arg1, arg2, arg3) btw.
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

there is no map number in the DECORATE version...
User avatar
ace
Posts: 787
Joined: Tue Jun 21, 2005 10:14 am
Location: Just south of the True North

Post by ace »

chaoscentral wrote:there is no map number in the DECORATE version...
Oh, yes, there is.
User avatar
MartinHowe
Posts: 2062
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Post by MartinHowe »

But for DECORATE items, map number is usually set to 0 as it has no relevance to monsters or items.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Not necessarily. You might want to queue a script on another map if you make a monster die a certain way (e.g. freezing.)
User avatar
Shadelight
Posts: 5113
Joined: Fri May 20, 2005 11:16 am
Location: Labrynna

Post by Shadelight »

solarsnowfall wrote:Unless a mod deems it worthy of removal, you must suffer the humiliation of making this thread until it drops from the page.
creepy way of putting it.....
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

i stand corrected
User avatar
PaganRaven
Posts: 439
Joined: Fri Oct 14, 2005 2:21 pm

Post by PaganRaven »

Hey chaoscentral, what is your avatar, exactly? It sorta looks to me like Master Shake with rabies and sunglasses, but it's really just too indecipherable (is indecipherable even a word?)
User avatar
ferentix
Posts: 96
Joined: Tue Jun 14, 2005 6:32 am
Location: Riding an Intestellar Chicken
Contact:

Post by ferentix »

It looks to me like the offspring of an unholy union between a Raikou (a lightning sort of pokemon) and Batman... :? (yes: I have a strange mind)
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

PaganRaven wrote:Hey chaoscentral, what is your avatar, exactly? It sorta looks to me like Master Shake with rabies and sunglasses, but it's really just too indecipherable (is indecipherable even a word?)
"Who is 'The Drizzle'?" ;)
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

lol finally someone gets it... It's the drizzle! Shake's "superhero" form lol
User avatar
ravage
Posts: 293
Joined: Wed Sep 03, 2003 9:30 pm
Preferred Pronouns: They/Them
Contact:

Post by ravage »

Actually, your question is well related to a question I have.

Is it possible to have a grabbable decorate item run a script when you pick it up (without setting the thing special in the map editor)?
Locked

Return to “Editing (Archive)”