You can make a 320x240 game run at full screen. Just depends on which res you want your graphics to be at.
~Trent
~Trent
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
//global script
import playerUseInv(InventoryItem *item); //since you'll only use this function here, no need to put the import in the module header
function cEgo_UseInv() {
playerUseInv(player.ActiveInventory);
}
//module script
function playerUseInv(InventoryItem *item){
if(player.ActiveInventory == ibook)
{
cEgo.Say("You used the book!");
}
if(player.ActiveInventory == ishovel)
{
cEgo.Say("You used the shovel!");
}
if(player.ActiveInventory == iunusualTrousers)
{
cEgo.Say("You used the unusual trousers!");
}
if(player.ActiveInventory == iwhateverYouWant)
{
// whatever, and so on!
}
}
// Inside hotspot interaction
if (player.ActiveInventory==iDoorKey) {
unlockeddoor=true; //This is for the next question
player.ChangeRoom(8); //Or whatever you want to happen when the door unlocks.
}
//This line goes outside of any function, usually at the top of the script (keeps it organized and clean)
bool unlockeddoor=false; //Read more about dif. types of variables in the manual.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.130 seconds with 16 queries.