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
help with intro
Death Icarus Offline
Junior Member

Posts: 19
Threads: 8
Joined: Sep 2011
Reputation: 0
#9
RE: help with intro

thank you
(02-01-2012, 06:58 PM)SilentStriker Wrote: Not really I'm going to give you an example that I use in my CS.

This code makes so that when you are touching the door, if it's locked it appears a text but when it's unlocked it doesn't appear a text.

void OnStart()
{
SetLocalVarInt("DoorLocked", 1);
SetEntityPlayerInteractCallback("level_wood_1", "TextLockedDoor", false);
}

void TextLockedDoor(string &in asEntity)
{
if(GetLocalVarInt("DoorLocked") == 1){
SetMessage("Message", "LevelDoorUnlock", 3);
AddQuest("03Books", "03Books");
}
}

02-01-2012, 07:27 PM
Find


Messages In This Thread
help with intro - by Death Icarus - 02-01-2012, 04:19 PM
RE: help with intro - by SilentStriker - 02-01-2012, 04:26 PM
RE: help with intro - by Death Icarus - 02-01-2012, 04:40 PM
RE: help with intro - by SilentStriker - 02-01-2012, 04:49 PM
RE: help with intro - by Death Icarus - 02-01-2012, 05:04 PM
RE: help with intro - by SilentStriker - 02-01-2012, 05:08 PM
RE: help with intro - by Death Icarus - 02-01-2012, 05:23 PM
RE: help with intro - by SilentStriker - 02-01-2012, 06:58 PM
RE: help with intro - by Death Icarus - 02-01-2012, 07:27 PM



Users browsing this thread: 5 Guest(s)