I know you can spawn objects and triggers into the level...
but is it also possible to determine the size of the trigger? if so how?
Spawn Script
Moderator: Moderators
- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
You can.
Hope this is what you needed!
Code: Select all
local.mytrigger = spawn trigger multiple_all
local.mytrigger.origin = ( X Y Z ) // coords
local.mytrigger setsize ( -120.00 -120.00 0.00 ) ( 120.00 120.00 124.00 )-
SNakeFluGeL
- Sergeant
- Posts: 56
- Joined: Wed Jul 02, 2003 4:52 pm
- The Jackal
- Sergeant Major
- Posts: 101
- Joined: Wed May 07, 2003 10:09 am
- Contact:
X Y Z is the coordinates to given location. X is Origin[0] Y is Origin[1] Z is Origin [2].
Origin[0] runs East-West (0 ++ )
Origin[1] runs North-South ( 0 ++ )
Origin[2] runs vertical, UP-DOWN ( 0 -- )
---------------------------------------
In your initial post you asked how to determine the trigger size. I assumed you meant you wanted to spawn a trigger and set the size of the trigger.
local.mytrigger setsize ( -120.00 -120.00 0.00 ) ( 120.00 120.00 124.00 ) sets the boundaries of the trigger. Therefore the area within activates the trigger.
Helpful?
Origin[0] runs East-West (0 ++ )
Origin[1] runs North-South ( 0 ++ )
Origin[2] runs vertical, UP-DOWN ( 0 -- )
---------------------------------------
In your initial post you asked how to determine the trigger size. I assumed you meant you wanted to spawn a trigger and set the size of the trigger.
local.mytrigger setsize ( -120.00 -120.00 0.00 ) ( 120.00 120.00 124.00 ) sets the boundaries of the trigger. Therefore the area within activates the trigger.
Helpful?