Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
Oh lawl :D yeah it's working now and i got my cousin to tell me how it all worked together so i understand it now :D thanks for the help dude :D! |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 08:11 PM |
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
Okay now im getting this error
FATAL ERROR: Could not load script file 'custom_stories/blabla/bla/blabla/Maps/Forest.hps'! ExecuteString(1, 1) : ERR : No matching signatures to 'OnLeave()'
main (21,... |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 07:40 PM |
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
Im so sorry man that failed xD
In the Global.hps
////////////////////////////// Run at the start game
void OnGameStart()
{
SetGlobalVarInt("AbandonedHouseDoorUnluck", 0);
}
In the Forest.hps
void... |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 06:51 PM |
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
So i'll put it like this? :D
In the Global.hps
Code:////////////////////////////// Run at the start gamevoid OnGameStart(){SetGlobalVarInt("AbandonedHouseDoorUnluck", 0);}
In the Forest.hps
Code:v... |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 06:21 PM |
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
hah oh yeah please teach me :D!
The door in the house is the not problem it's the one in the Forest :-) |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 05:24 PM |
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
(04-30-2012, 05:18 PM)SilentStriker Wrote: Ok so then use the
SetLevelDoorLocked(string& asName, bool abLocked);
to unlock the level door. And if you press the blockade and in the entity tab y... |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 05:21 PM |
|
|
Thread: How to unluck a door from another map?
Post: RE: How to unluck a door from another map?
(04-30-2012, 04:58 PM)FragdaddyXXL Wrote: Perhaps you could use global variables. Here's a snippet of code where I'm almost doing the same exact thing:
Code:void OnEnter()
{
... |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 05:13 PM |
|
|
Thread: How to unluck a door from another map?
Post: How to unluck a door from another map?
Hi. So i have one map where the front door is blocked from the inside, but there is a back entrence and in the house you can destroy the blockade and use the front door to get back out
But i can't fin... |
|
z3akx |
Development Support
|
16 |
10,452 |
04-30-2012, 03:54 PM |
|
|
Thread: A simple script
Post: RE: A simple script
(04-29-2012, 03:41 PM)FragdaddyXXL Wrote: Quote:void SetLanternLitCallback(string& asCallback);
Sets the function to call when the player uses his lantern.
Callback syntax: MyFunc(bool abLit)
... |
|
z3akx |
Development Support
|
3 |
3,781 |
04-29-2012, 04:09 PM |
|
|
Thread: A simple script
Post: A simple script
Hi. Well i've wondered if its possible to make a script which would work as
When the player picks up the lantern notthing unusual happens, but when the player tries to use the lantern it will "brake" ... |
|
z3akx |
Development Support
|
3 |
3,781 |
04-29-2012, 03:23 PM |
|
|
Thread: I can't randomize my loading screen entries..
Post: RE: I can't randomize my loading screen entries..
(04-29-2012, 03:10 PM)FragdaddyXXL Wrote: Instead of using the function's random, maybe you could just create a random int variable named something like "i".
Generate a random number and store the ... |
|
z3akx |
Development Support
|
2 |
2,698 |
04-29-2012, 03:21 PM |
|
|
Thread: I can't randomize my loading screen entries..
Post: I can't randomize my loading screen entries..
Hi. well here is my problem, i've made a loading screen and i added a picture and some text
but I cant get it to ramdomize between several texts so it will allways show only 1 text
here is the scrip... |
|
z3akx |
Development Support
|
2 |
2,698 |
04-29-2012, 02:54 PM |
|
|
Thread: Can't stop shake and blur.
Post: RE: Can't stop shake and blur.
Okay i have it fixxed now.
I found out i just needed to add medecinepot on the medecine itself, in the CallBackFunc. Second tap..
But thanks for the help :-) |
|
z3akx |
Development Support
|
3 |
2,855 |
12-21-2011, 03:32 PM |
|
|
Thread: Can't stop shake and blur.
Post: RE: Can't stop shake and blur.
No the medecine is a item to pick up ;) |
|
z3akx |
Development Support
|
3 |
2,855 |
12-20-2011, 08:56 PM |
|
|
Thread: Can't stop shake and blur.
Post: Can't stop shake and blur.
Hi.
Well basicaly i want the player to walk through a spot and then the screen starts shaking and a blur.
The player then needs to "drink" a medecinepot (laudanum) to stop the shaking. And ofc i can'... |
|
z3akx |
Development Support
|
3 |
2,855 |
12-20-2011, 08:14 PM |