DECORATE - A_Warp/ISMONSTER question

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)

DECORATE - A_Warp/ISMONSTER question

Postby Cyril Hipperdotch » Sun Nov 21, 2021 10:45 am

Hello I have a question - why does adding ISMONSTER flag to this actor stop A_Warp from functioning? Is there any way round this?

ACTOR BlotSmokeSpawner
{
+NOINTERACTION
+ISMONSTER

States
{
Spawn:
TNT1 AAAA 0 NoDelay A_SpawnItemEx ("BlotSmoke", -2, random (0, -8), random (-4, 4), 0, random (-1, 1), random (-1, 1), 0, 160)
TNT1 A 1 A_Warp (AAPTR_TARGET, 0, 0, 0, 0, WARPF_NOCHECKPOSITION)
Loop
}
}
Cyril Hipperdotch
 

Re: DECORATE - A_Warp/ISMONSTER question

Postby Dan_The_Noob » Sun Nov 21, 2021 5:39 pm

Warp is like the archvile attack. so maybe monster flag stops it to avoid clipping?
why does this need to be a monster anyway?
User avatar
Dan_The_Noob
 
Joined: 07 May 2019
Twitch ID: Dan_The_Noob
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: DECORATE - A_Warp/ISMONSTER question

Postby Logan MTM » Sun Nov 21, 2021 7:17 pm

AAPTR_TARGET or AAPTR_MASTER?
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest