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
if (mouse.x, mouse.y == btnOptions){
btnOptions.Animate(VOPTIONS, 1, 1, eRepeat);
}
Hi again script experts! I wanted to write a script that say; If background is frame 1, then remove tint from object1.
I writed then:
[Code]
function Rope_Interact()
{
light_is_on = 1 - light_is_on; // toggle light
SetBackgroundFrame(light_is_on); // update background
if (int.light_is_on == 1);
oPurplepaint.RemoveTint;
}
[code]Hi folks, well i'm trying to do a puzzle in my game, that when you look to a hotspot, a object turns invisible (object1.visible=false) and other turns visible (object2.visible= true). And then, when object 2 turns visible, the player can pick it. I used a IF clause, in case that the player try to pick the object when it is invisible. then this is the code:
[Code]
function PaintingR_Interact()
{
oSquare.Visible= false;
oBlacksquare.Visible= true;
Display("Its look like a pixel dropped off the mosaic.");
}
function oBlacksquare_Interact()
{
if (oBlacksquare.Visible = true)
{
player.AddInventory(iBlacksquare,)
oBlacksquare.Visible= false
}
else[
}
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.122 seconds with 14 queries.