I would say that the following lines need to be "comment out" using the "//" chars because they are not reconizeabe to the compiler. You probably also need to define the variable "name" as follows;
string name;
Hope this works for you. Cheers.
string name;
Quote
//******************** HOW TO MAKE CURSORS CHANGE OVER HOTSPOTS/OBJECTSA/CHARACTERS *******************************
// Using the GetLocationType function you don't have to write a code for every hotspot in the game and you get
// the cursor change also above objects and characters ( tou can modify it to change only on hotspots or objects,
// change it to TALK when above characters etc)
// Let's say your cursors are:
// 0 WALK
// 1 LOOK
// 2 USE
// 3 TALK
// 4 TAKE // NOT USED
// 5 CHANGED WALK
// 6 CHANGED LOOK
// 7 CHANGED USE
// 8 CHANGED TALK
// 9 WAIT
// Just put the following code in the GLOBAL SCRIPT'S REPEATEDLY EXECUTE function
Hope this works for you. Cheers.