Scripting some triggers
Posted: Wed May 28, 2008 4:42 pm
I heard that PA scripting is similar to AA/SH/BT..so..I tryied using the same trigger code I used for Malta in SH but it don't wanna work! I can't understeand where is the problem..
however the map I'm tring to mod is MP_Bridge_INV.................
the script I used is this:
Code: Select all
local.trig = spawn trigger_multiple
local.trig.origin = ( 171.13 -237.55 1161.21 )
local.trig setsize ( -5 -3021.93 -580.91 ) ( 5 3261.23 4290.05 )
local.trig setthread Trigger1
local.trig message "NO CROSS!"
local.trig wait 1
local.trig delay 0
Trigger1:
local.player=parm.other
if (local.player.isTrigger1==1)
end
local.player.isTrigger1=1
local.player kill
local.player.isTrigger1=0
end