Spaztrooper Posted June 26, 2013 Share Posted June 26, 2013 (edited) I am not sure of the exact command or maybe I am not fully understanding it. What I want to do is beable to click on a flag and a message pop up. How would I go about doing such a thing? Showmessage? Or do I have to create a button of some sort? Thanks, Spaz Edited June 26, 2013 by Spaztrooper Link to comment Share on other sites More sharing options...
DaemonGrin Posted June 26, 2013 Share Posted June 26, 2013 Create the trigger by clicking on Create cubic activator, a window pops up rename the id, change the trigger item to your flag, check New next to ID, click ok. Create message item, create script and attach to the flag trigger. I think this will work I'm new to scripting myself but have setup several trigger events in my mod WIP. scn FlagTriggerScript (or w/e you want to name it) Begin onActivate player showmessage messageID end If you just want it to work once then scn FlagTriggerScript (or w/e you want to name it) short doOnce Begin onActivate player if doOnce == 0 showmessage messageID set doOnce to 1endifend Hope it works,Geoff Link to comment Share on other sites More sharing options...
jazzisparis Posted June 26, 2013 Share Posted June 26, 2013 Create the trigger by clicking on Create cubic activator, a window pops up rename the id, change the trigger item to your flag, check New next to ID, click ok. Create message item, create script and attach to the flag trigger.I don't think that would work, since cubic activators cannot be interacted with per-se - they are only "triggered" once an actor steps into them.What you need to do is create a new Activator form (in World Objects > Activator) and set it to use the model (NIF file) of the flag. You can then use Geoff's script. Link to comment Share on other sites More sharing options...
DaemonGrin Posted June 26, 2013 Share Posted June 26, 2013 (edited) Create the trigger by clicking on Create cubic activator, a window pops up rename the id, change the trigger item to your flag, check New next to ID, click ok. Create message item, create script and attach to the flag trigger.I don't think that would work, since cubic activators cannot be interacted with per-se - they are only "triggered" once an actor steps into them.What you need to do is create a new Activator form (in World Objects > Activator) and set it to use the model (NIF file) of the flag. You can then use Geoff's script. Oh I thought it did that since every time I drew a trigger box the menu popped up and the default trigger is a water spicket(w/e lol) I've only used the box triggers so not 100% sure. Edited June 26, 2013 by DaemonGrin Link to comment Share on other sites More sharing options...
jazzisparis Posted June 26, 2013 Share Posted June 26, 2013 The player can only interact with objects that have some form of collision information (bhkCollisionObject). Link to comment Share on other sites More sharing options...
Spaztrooper Posted July 2, 2013 Author Share Posted July 2, 2013 Ok, thanks guys, will try this out thanks alot! Link to comment Share on other sites More sharing options...
Recommended Posts