Frictional Games Forum (read-only)

Full Version: problems with scripting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hey guys...

I working on a full conversion for myself to practice and want to use this thread for any questions to scripting I had.

The first thing, I want to know is:

I want to create an event for which the player breaks down, looking at an enemy, and after a few seconds, the game changed the map.
And now my question:

How did I do that / what script must I write? Huh

I also want to say, that I am german, and my english could sometimes been better... Big Grin don't you think?
You may want to look at the following functions: GiveSanityDamage(); SetEntityActive(); ChangeMap(); AddTimer(); StartPlayerLookAt(); StopPlayerLookAt().

Their definitions can be found here:
http://wiki.frictionalgames.com/hpl2/amn..._functions
@Your Computer
Thanks Smile

Interesting page. I will try to find a solution!
Erm, good thing you find it interested, because wiki contains many tutorials and source to modders.
Blush
I think you hadn't understand me right, Tanshaydar.
I already known this wiki, but I hadn't seen this script-function page in it.
Interesting to know Big Grin
Oh, my bad, sorry.
Then you found the tutorials with videos too? Because it's a great resource.
(08-11-2011, 06:48 PM)Tanshaydar Wrote: [ -> ]Oh, my bad, sorry.
Then you found the tutorials with videos too? Because it's a great resource.

ha,ha always a wiki supporter! SmileBig GrinTongueWink
Yes, I have already seen the videos and most of them has helped me a lot, to set my first steps in the editors.
But scripting is sometimes very tricky for me. Huh
So often my scripts doesn't work and I found very, very rare the mistake, by myself. Confused

The wiki-page doesn't helped me really Blush .
I have so much to learn about scripting... I hoped, you guys could helped me there and don't worry...
...you will see my custom storys as soon as possible... Big Grin

...some of them just wait for the right script.
Well you can always ask at the forums. Also search them because there are plenty of other ready scripts and help topics in there.
That's good to know!

I already has searched for scripts in the forum, put them in my game, and most of them has worked.
But often they failed by me and I don't know why. For example: I had already problem by making buttons and levers. Confused
Sometimes they freaked me so out, that I must play the game and hunt Daniel, to calm down Big Grin.

But at first I need this script:
Quote:I want to create an event for which the player breaks down, looking at an enemy, and after a few seconds, the game changed the map.

Pages: 1 2 3