(Formerly known as RunRegionInteraction, which is now obsolete)
Region.RunInteraction(int event)
Runs the event handler as if the EVENT for the region had been activated.
NOTE: Unlike the other RunInteraction commands, this one does not take a cursor mode.
Instead, it uses an event type as follows:
0 While player stands on region
1 Player walks onto region
2 Player walks off region
Example:
region[4].RunInteraction(1);
will run the actions defined in the event handler script for "Player walks onto region"
for region 4.
See Also: Character.RunInteraction,
Hotspot.RunInteraction
|