Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Scripting issues
Post: RE: Scripting issues
(12-06-2011, 11:57 AM)Your Computer Wrote: I'd fix it for you, but i have no idea what that AddEntityCollideCallback's purpose is. Was that code block supposed to be for a function that you forgot t... |
|
Spermaharen |
Development Support
|
6 |
5,423 |
12-06-2011, 12:06 PM |
|
|
Thread: Scripting issues
Post: RE: Scripting issues
(12-06-2011, 10:08 AM)Your Computer Wrote: You have a dangling code block directly under the "KEY 1 DONE" comment.void OnStart()
{
AddUseItemCallback("", "Key1", "Door", "FUNCTION", true);
}
void... |
|
Spermaharen |
Development Support
|
6 |
5,423 |
12-06-2011, 10:27 AM |
|
|
Thread: Scripting issues
Post: RE: Scripting issues
(12-06-2011, 09:54 AM)Tanshaydar Wrote: Make sure your level file and your script file have the same name.
For example:
example.map
example.hpsMy map and hps is same name so it cant be that
Mackan.m... |
|
Spermaharen |
Development Support
|
6 |
5,423 |
12-06-2011, 09:56 AM |
|
|
Thread: Scripting issues
Post: Scripting issues
Hello Again ! Sorry if i post much of this but is a forum :blush:
I,ve done a little script but it dont work when i try to start my custom story i get this error message : Fatal Error : could not loa... |
|
Spermaharen |
Development Support
|
6 |
5,423 |
12-06-2011, 09:38 AM |
|
|
Thread: dont work Scripting a door
Post: RE: dont work Scripting a door
(12-05-2011, 06:30 PM)i3670 Wrote: Name on Door : DoorCustomSubItemTypeName : Key1 (12-05-2011, 06:26 PM)Spermaharen Wrote: there's your problem. You should type "Key1" in the name box.OMFG That wa... |
|
Spermaharen |
Development Support
|
4 |
4,106 |
12-05-2011, 07:02 PM |
|
|
Thread: dont work Scripting a door
Post: RE: dont work Scripting a door
(12-05-2011, 06:07 PM)i3670 Wrote: I take it that the items inside your map are named "Key1" and "Door"?Name on Door : Door
CustomSubItemTypeName : Key1
|
|
Spermaharen |
Development Support
|
4 |
4,106 |
12-05-2011, 06:26 PM |
|
|
Thread: dont work Scripting a door
Post: dont work Scripting a door
Hey im trying to scripting a door and my script looks like this !
Have i done something wrong beacuse when i use the key on the door i get a message
The Message goes like this : Cannot use this item... |
|
Spermaharen |
Development Support
|
4 |
4,106 |
12-05-2011, 05:55 PM |
|
|
Thread: Scripting is hard
Post: Scripting is hard
Hello !
I have done a map in Amnesia level editor and im new to scripting
So I need help with the Scripting part.
So if anyone have any good tips PLEASE WRITE IT !
[Image: http://www.frictionalgames.c... |
|
Spermaharen |
Custom Stories, TCs & Mods - Development
|
9 |
8,215 |
12-05-2011, 01:52 PM |