LeftOverForGood
03-18-2007, 08:03 PM
So here's my questions.
Is there a way in SF for a script to have the action set to a particular item's arrival but include the descriptor in the script response?
What I mean is this. If I set my hunting script for waitfor troll and a thunder troll shows up, is there some nifty way I can make the script understand that it's a thunder troll and input that into the game?
Like:
Script running..
A <insert troll kind> arrives.
Script inputs this:
You swing a tiny sword at a thunder troll.
A <different troll kind> arrives.
You swing a tiny sword at a stone troll.
If this is possible, can the same action be done when I enter a new room and the troll shows up in the room description?
Another question about pickpocketing.
Is SF smart enough to be instructed to automatically steal from any player entering the room? Without having to input that specific player's name?
Jobob arrives.
You reach over and pocket 2 cents from JoBob.
BobbyJo arrives.
You reach over and pocket 2 cents from Bobbyjo.
Sorry if I'm not quite clear about what I'm wanting to do, but I've never created more than a simple movement script.
Is there a way in SF for a script to have the action set to a particular item's arrival but include the descriptor in the script response?
What I mean is this. If I set my hunting script for waitfor troll and a thunder troll shows up, is there some nifty way I can make the script understand that it's a thunder troll and input that into the game?
Like:
Script running..
A <insert troll kind> arrives.
Script inputs this:
You swing a tiny sword at a thunder troll.
A <different troll kind> arrives.
You swing a tiny sword at a stone troll.
If this is possible, can the same action be done when I enter a new room and the troll shows up in the room description?
Another question about pickpocketing.
Is SF smart enough to be instructed to automatically steal from any player entering the room? Without having to input that specific player's name?
Jobob arrives.
You reach over and pocket 2 cents from JoBob.
BobbyJo arrives.
You reach over and pocket 2 cents from Bobbyjo.
Sorry if I'm not quite clear about what I'm wanting to do, but I've never created more than a simple movement script.