Moving triggers
Moderator: Core Staff
Moving triggers
I have a brush that has a hurt trigger and kills players on contact. If i were to move my brush in a script the trigger wont move therefore the brush doesn't kill the player on contact how do I move the brush in a script?
Re: Moving triggers
Hey Skyrimfus!
CoD doesn't exactly allow you to move trigger brushes.
The way around this is to "Link" the trigger brush to a normal script brush model.
See the code below for an example:
That should solve it!
CoD doesn't exactly allow you to move trigger brushes.
The way around this is to "Link" the trigger brush to a normal script brush model.
See the code below for an example:
Code: Select all
brush = getent("brush", "targetname");
trigger = getent("trigger", "targetname");
trigger enableLinkTo();
trigger linkTo(brush);
//Move brush around and trigger will follow
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
Who is online
Users browsing this forum: No registered users and 3 guests