How would i go about making a area that checks the persons gender and if its the specifyed gender it lefts them through but for the other gender it stops them and re-boundes them, kinda like this:
| = area
M = male
F = female
/ = wall
//////////////
| <---->M
| <--F
//////////////
In that demo the female would have been the specifyed gender that was able to go through and the male gender wouldent have been able to go through and had gotten rebounded to his last position like shown in demo.
If you know what i mean and how to help me please post back asap PLEASE.
ID:164308
Jun 28 2007, 7:35 am
|
|
Note that Enter() is not a proc that you want to DO anything in. It shouldn't say "girls only" or teleport the mob or anything of the sort. It exists ONLY to check whether or not something CAN enter. Returning 1 allows entry, returning 0 denies entry, and returning ..() uses the default (or previously overridden) rules to entry to apply (the default is: no more than one dense object at a location).