[Not a Bug][1.33]DECORATE embedded in VavoomC won't accept a

Bugs that have been fixed.

[Not a Bug][1.33]DECORATE embedded in VavoomC won't accept a

Postby b0rsuk » 28 Mar 2011 04:30

DECORATE functions embedded in VavoomC won't accept arguments. Example below is from progs/linespec/FrostMissile.vc:

[code]
states
{
Spawn:
SHRD A 0 A_ExtraDamage
SHRD A 2 Bright A_ScaleVelocity(0.70)
User avatar
b0rsuk
 
Posts: 189
Joined: 10 May 2010 15:55

Re: [1.33]DECORATE embedded in VavoomC won't accept argument

Postby Crimson Wizard » 28 Mar 2011 05:33

I think they should be wrapped in { }.

I have following lines in our KMOD4 project (in vc source file):

Code: Select all
BISB P 1 { KRPGLevelInfo(Level).A_LocalQuakeFree(2, 100, 4, 16, Origin); }

[code]
DEMN G 6
{
A_Custo
Crimson Wizard
 
Posts: 881
Joined: 09 Nov 2005 14:21
Location: St. Petersburg, Russia

Re: [1.33]DECORATE embedded in VavoomC won't accept argument

Postby Firebrand » 29 Mar 2011 15:18

Using CW's method, you can add a small "block" of method calls, i.e. call more than one method in a single state.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron