ACS suggestions

Moderator: GZDoom Developers

User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

What's wrong with using Thing_Move?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49188
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

2 things:

-it can only move to a different map spot, not by offset
-it spawns teleport fog which often isn't wanted.
Richard213
Posts: 43
Joined: Sun Dec 05, 2004 1:35 pm

Post by Richard213 »

well this like this arnt possible with the other ways like thing_move

creat a thing that moves in decorat and put this in ACS

1st make a thing in decorate that move around another thing like the Afrit in monster resource wad

then you could do something like this in acs

Code: Select all

script 1 open
 {
  Thing_ChangeTID(0,Playernumber()+256);
   int playerX = getactorx(256);
   int playerY = getactory(256);
   setactorx(1,playerX);
   setactory(1,playerY);
  }
this would take that thing with the comits going around it and follow the player, now you have a comit circling the player

thing_move cant do this and if im correct that spawn hack would just make the comit stey in one place.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Post by Macil »

Isn't that supposed to be an Enter script? And what exactly is it supposed to do?
Richard213
Posts: 43
Joined: Sun Dec 05, 2004 1:35 pm

Post by Richard213 »

Isn't that supposed to be an Enter script?
i wrote the code in about 30 sec, you cant expect me to get it right lol
And what exactly is it supposed to do?
it put a thing with tag 1 in the X Y position of the player
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”