derbuggy Posted April 24, 2011 Share Posted April 24, 2011 I need help with the NPC and triggers. I want to trigger a number of objects can appear when the NPC passes through the trigger. here the simple script Begin OnActivate if IsActionRef player == 0object01.enableobject02.enableendifend Link to comment Share on other sites More sharing options...
viking99 Posted April 24, 2011 Share Posted April 24, 2011 if this is an area trigger like it sounds onActivate won't work. use onTriggerEnter instead. Link to comment Share on other sites More sharing options...
derbuggy Posted April 24, 2011 Author Share Posted April 24, 2011 thank's for help! Link to comment Share on other sites More sharing options...
PaladinRider Posted May 2, 2011 Share Posted May 2, 2011 You will will also need to use If GetActionRef == Player instead as well.I don't think IsActionRef works in trigger boxes, only OnActivate. Link to comment Share on other sites More sharing options...
Recommended Posts