Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Flammable

Replacing/Removing actors using ACS

Recommended Posts

So there is a few ways to replace actors that already on map using DECORATE or Random Spawner or MAPINFO Difficulty, but i'm interested specificly in ACS script.

How could i replace actors that already on map using OPEN script, by their DoomEd number, or by their actorname?

I'm looking for something like that:

Script 900 OPEN
{
if (CheckActorClass(0, "Pistol"))
" Thing_replace("Pistol", "Shotgun") "
}

I'v tried to find anything that similar to the above command but no success.

Share this post


Link to post

In ACS, you can only identify things (in order to do something with them) based on their Tags aka TIDs, not by their editor numbers or classnames. I also don't think you can make an ACS script be automatically run as activated by each thing in a map. So, there is no ACS-only method to do what you want, unless you edit the maps to give Tags to the things you want to replace, and then make your script manipulate things with these Tags.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×