is there a way that a character can say a certain word and it triggers an event
ie: the PC (playable character) was given the spell FLIGHT, he gets to a chasm with no way across. The PC would have to type spellcasting FLIGHT to get him across the chasm to continue his journey. if he tries to get across without using the spell he falls into the chasm and dies
Pertex
07 Mar 2012 11:45
one way is to create a command "cast". If the PC "cast FLIGHT", set an playerattribute flighting=true and start a turnscript to reset this attribute after some turns. In the enterscript of the chasm-room test this attribute. If false, PC dies.