Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using a lever on the mount.
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: using a lever on the mount.

It's really easy:

Put the lever without mount anywhere in your map and just the mount where you need it. Make a script area that fits the mount. Then;

void OnStart()
{
AddEntityCollideCallback("Lever_without_mount", "Script_area_mount", "Mount", true, 1);
}

void Mount (string &in asParent, string &in asChild ,int alState)
{
SetEntityActive("Lever_mounted", true); //This entity is the normal lever
SetEntityActive("Lever_mount", false); //Mount of the lever
SetEntityActive("Lever_without_mount", false);
}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 01-19-2013, 10:03 PM by The chaser.)
01-19-2013, 10:02 PM
Find


Messages In This Thread
using a lever on the mount. - by stokesie95 - 01-19-2013, 08:57 PM
RE: using a lever on the mount. - by The chaser - 01-19-2013, 10:02 PM
RE: using a lever on the mount. - by stokesie95 - 01-19-2013, 10:27 PM



Users browsing this thread: 1 Guest(s)