A_VileChase("State", friend)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: A_VileChase("State", friend)

by Osiris Kalev » Mon Jun 11, 2007 4:21 am

Ah ok. Thanks Graf.

by Graf Zahl » Mon Jun 11, 2007 3:59 am

Ugh. Sorry, I apparently misread something. I thought this was about the A_Chase state thing. I have no idea why this was moved to 'closed suggestions'.

by Osiris Kalev » Mon Jun 11, 2007 3:11 am

I tried using it with the SVN and GZDoom 1.0.24, but it gave me this:

You cannot pass parameters to '('

The line I used was: PLAY AAAAAAAAAAAAAAA 8 A_VileChase("ConvertS", 0)

Anything wrong with this line?

by Graf Zahl » Mon Jun 11, 2007 1:34 am

Sure it has. But this was after 2.1.7.

by Osiris Kalev » Mon Jun 11, 2007 12:55 am

Sorry for a most horrible bump, but has this actually been implemented? It doesn't seem to work.

by Cutmanmike » Thu Jul 13, 2006 3:00 am

Yes, but you may want different "Archvile" or weapons to ressurect monsters in different ways.

Example, You have a weapon which turns corpses into some form of Health but you have archviles in your map. Like I said this would require custom states.

Edit: I just noticed that the Friendly paramater isn't even needed, since you can use A_ChangeFlag

by Jimmy » Thu Jul 13, 2006 2:57 am

You can always set a goto parameter in the Raise state.

Code: Select all

Raise:
  SARG A 0
  Goto Pain

by Cutmanmike » Wed Jul 12, 2006 12:56 pm

TDA is correct

by TheDarkArchon » Wed Jul 12, 2006 12:25 pm

Anakin: I think cutty wants the state parameter to define what state the resurrectee goes into.

by Anakin S. » Wed Jul 12, 2006 12:11 pm

The state it revives monsters with is Heal. Whether or not it's revived as a friend depends on the archvile's friendliness setting.

A_VileChase("State", friend)

by Cutmanmike » Wed Jul 12, 2006 8:30 am

Since we're going to have custom states sooner or later, would it be possible to add two paramaters to Vilechase or a similar codepointer?

The first one would be the state it revies with. With it you could create such things as Corpse explosion, or turn corpses into other things such as mana (if it was going to be a hexen/heretic like game).

The second would simply define if you wanted it to be revived as a friend or not.

Top