Is there a way to make a pre-defined field? Preferably something similar to Yu-Gi-Oh!? Where each player has 5 monster zones and 5 spell/trap zones.
Currently I have a verb that lets me create a type of obj and place it in front of the mob but it only places the obj North, if the mob was facing lets say East I would want the obj to be placed in front of the mob's direction...I'm not sure if anyone can follow that but I suck at explaining things x.x Help?
ID:273752
Mar 5 2011, 10:42 pm
|
|
As for creating an object in front of the player, there is a built-in function called get_step(), which would let you do this. I think the syntax is something like get_step(some object, desired direction)... so in your verb's case you would call something like get_step(usr, usr.dir) - this will yield a turf one step in front of usr in the direction it is facing.