View previous topic :: View next topic |
Author |
Message |
AJH Guest
|
Posted: Fri Dec 04, 2009 2:42 am Post subject: HALP! |
|
|
How would I create an invisible NPC that activates a tag when you step on the space it's on. so of course, it also has to be step-onnable, too.  |
|
Back to top |
|
 |
Bagne ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA

Joined: 19 Feb 2003 Posts: 518 Location: Halifax
|
Posted: Fri Dec 04, 2009 5:07 am Post subject: |
|
|
You could make it call up a text box which sets the tag, or, if you want it to silently set the tag, you'll have to use a simple plotscript.
Code: |
Plotscript, silentTagsetter, begin
set tag (tagToSet, on / off)
end |
Do you only want the tag to be toggled once? _________________ Working on rain and cloud formation |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Fri Dec 04, 2009 8:13 am Post subject: |
|
|
(Tip: You can make a script which you can reuse to silently set any tag by adding an argument:
Code: | plotscript, set tag on, tag num, begin
set tag (tag num, on)
end |
Then you'd set the step-on NPC to Run Script 'set tag on' with the Script Argument the tag ID number.)
In case you're not familar with compiling scripts, see the start of 'Plotscripting Tutorial' _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
AJHunter Probably Naked

Joined: 04 Dec 2009 Posts: 131 Location: Usually bed
|
Posted: Mon Dec 21, 2009 4:05 am Post subject: |
|
|
too make it harder: the tags have to be toggled only once and can only be toggled in sequence (1, 2, 3, 4, 5 to be exact) |
|
Back to top |
|
 |
|