Moving Camera activating a script?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Moving Camera activating a script?

Post by Tormentor667 »

Is it possible to activate a script by a moving camera crossing a certain line?
User avatar
Enjay
 
 
Posts: 27149
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Moving Camera activating a script?

Post by Enjay »

I don't *think* so. You'd normally use a [wiki]Classes:InterpolationSpecial[/wiki] to trigger a special when the camera reached the associated interpolation point.

It might be possible to use a [wiki]Classes:SecActEnter[/wiki] but I don't think it works for cameras.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Moving Camera activating a script?

Post by Tormentor667 »

That already helps a lot, thanks Nigel :)
Locked

Return to “Editing (Archive)”