Page 1 of 1

interior scene event script?

Posted: Sat Jan 10, 2015 10:14 pm
by morbydvisns
what type of event is triggered when a event region is entered? I tried custom but do dice.

Posted: Mon Jan 12, 2015 12:06 am
by Mit
Events are

Code: Select all

SceneEnterRegion
SceneLeaveRegion
the param is the text field for the region set in the scene editor (or the param= field if you're editing the .uim manually).

i.e if you've added a region with param=Door1 in the scene ed, the server will trigger :

Code: Select all

Event( "SceneEnterRegion", "Door1" )
{
  ....

Posted: Mon Jan 12, 2015 1:59 am
by morbydvisns
http://www.tuwr.net/morvis/Data/Models/ ... cave1h.uim

Haven't gotten it to kick the event off yet.