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
Use item in other levels
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#12
RE: Use item in other levels

(04-24-2012, 06:51 PM)beecake Wrote:
Quote:void OnStart*1()*2
{
AddUseItemCallback("", "glass_container_mix_done", "gryde1", "UseItemOnArea", true);
}

void UseItemOnArea(string &in asItem, string &in asEntity)
{
SetEntityActive("Fiskeolie_static_1", true);
SetSwingDoorLocked("mansion_5", true, true);
StartPlayerLookAt("mansion_8", 10, 10, "");
AddTimer("", 0.3*3, "LookAtDoor_1");
RemoveItem("glass_container_mix_done*4");
}
Still it doesnt work...
*1 = Remove space.
*2 = Remove the semi-colon here!
*3 = Add f when dealing with floating numbers.
*4 = Remove space.


Noob scripting tutorial: From Noob to Pro

04-24-2012, 07:08 PM
Find


Messages In This Thread
Use item in other levels - by FlawlessHappiness - 04-23-2012, 09:22 AM
RE: Use item in other levels - by Mine Turtle - 04-23-2012, 09:40 AM
RE: Use item in other levels - by i3670 - 04-23-2012, 10:26 AM
RE: Use item in other levels - by Cranky Old Man - 04-23-2012, 10:39 AM
RE: Use item in other levels - by Cranky Old Man - 04-23-2012, 10:54 AM
RE: Use item in other levels - by Mine Turtle - 04-23-2012, 10:57 AM
RE: Use item in other levels - by Cranky Old Man - 04-23-2012, 11:07 AM
RE: Use item in other levels - by Mine Turtle - 04-23-2012, 12:25 PM
RE: Use item in other levels - by Knittel - 04-23-2012, 01:06 PM
RE: Use item in other levels - by Cranky Old Man - 04-24-2012, 07:08 PM
RE: Use item in other levels - by Cranky Old Man - 04-24-2012, 08:12 PM



Users browsing this thread: 2 Guest(s)