Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: String Arrays?
Post: RE: String Arrays?
(08-13-2012, 09:06 PM)Your Computer Wrote: The AngelScript documentation has been updated to fit the latest version of AngelScript. Amnesia, however, uses an older version of AngelScript, therefore ... |
|
Fearlessagent |
Development Support
|
2 |
2,410 |
08-13-2012, 09:43 PM |
|
|
Thread: FATAL ERROR Could Not Load World File 'MyMaps/my_maps.map'
Post: RE: FATAL ERROR Could Not Load World File 'MyMaps/...
(08-13-2012, 04:16 PM)taylor122002 Wrote: Hello everybody! I have a question to ask, I just recently made a Test Custom Story so I can learn basics of scripting and such. At first when I made this T... |
|
Fearlessagent |
Development Support
|
2 |
4,955 |
08-13-2012, 09:27 PM |
|
|
Thread: Combining script isn´t working. Please help
Post: RE: Combining script isn´t working. Please help
(08-10-2012, 10:46 AM)Timotej Wrote: (08-09-2012, 10:47 PM)SmokeMelvin Wrote: void OnStart()
{
AddCombineCallback("", "stick", "rock", "CombineFunc", true);
}
void CombineFunc(string &in asIt... |
|
Fearlessagent |
Development Support
|
5 |
3,636 |
08-13-2012, 09:14 PM |
|
|
Thread: Custom Story Error
Post: RE: Custom Story Error
Be sure you have all of these options with correct values in custom_story_settings.cfg:
Code:<Main
Name = "My Custom Story N... |
|
Fearlessagent |
Development Support
|
3 |
2,715 |
08-13-2012, 08:24 PM |
|
|
Thread: Silly question
Post: RE: Silly question
Just make sure you place the callback in the .hps file associated with the map where the door you want to unlock is. If you are not sure how to unlock doors in the first place, check this page and loo... |
|
Fearlessagent |
Development Support
|
2 |
1,857 |
08-13-2012, 08:15 PM |
|
|
Thread: String Arrays?
Post: String Arrays?
Are they possible in Amnesia? Looking at the AngelScript documentation (well the google cache anyways, site seems to be down at the time of me writing this), is says the syntax is something like:
PHP... |
|
Fearlessagent |
Development Support
|
2 |
2,410 |
08-13-2012, 08:10 PM |
|
|
Thread: Custom function freezes the game.
Post: RE: Custom function freezes the game.
(07-07-2012, 07:44 AM)Your Computer Wrote: I did a test run, and i got the following output with "Text_Text_Text":
Code:Analyzing Letter: T
New String:
Analyzing Letter: ex
New String:
Analyzing ... |
|
Fearlessagent |
Development Support
|
6 |
4,446 |
07-07-2012, 08:29 AM |
|
|
Thread: Custom function freezes the game.
Post: RE: Custom function freezes the game.
(07-07-2012, 05:57 AM)Your Computer Wrote: Infinite loops halt the game. The only time the script increments l is when it finds an underscore and if the previous if statement evaluates to false. Wit... |
|
Fearlessagent |
Development Support
|
6 |
4,446 |
07-07-2012, 06:07 AM |
|
|
Thread: Custom function freezes the game.
Post: RE: Custom function freezes the game.
(07-07-2012, 05:42 AM)Your Computer Wrote: If i'm interpreting everything correctly, l would never be greater than 2.Correct, the goal is to stop the while loop after 2 underscores in the string are... |
|
Fearlessagent |
Development Support
|
6 |
4,446 |
07-07-2012, 05:52 AM |
|
|
Thread: Event: Player seeing monster will stop player moving.
Post: RE: Event: Player seeing monster will stop player ...
Use This:
Code:void OnStart()
{
AddEntityCollideCallback("Player", "scary_monster", "MonsterFunction", true, 1);
&n... |
|
Fearlessagent |
Development Support
|
4 |
3,274 |
07-07-2012, 05:49 AM |
|
|
Thread: Unexpected token in IF Statement
Post: RE: Unexpected token in IF Statement
(07-07-2012, 04:46 AM)heyitsrobert97 Wrote: Hi, I've got this random problem where my cs won't load. the error says line 176,1 Unexpected Token. but the token has to be there.
void rotten01();
{ &l... |
|
Fearlessagent |
Development Support
|
3 |
2,679 |
07-07-2012, 05:02 AM |
|
|
Thread: Custom function freezes the game.
Post: Custom function freezes the game.
So, in the custom story that I'm creating, I name things I need to interact with in the code quite precisely. Usually it takes the form of: ROOMNAME_ITEMNAME_TYPE
So for example, a note might be labl... |
|
Fearlessagent |
Development Support
|
6 |
4,446 |
07-07-2012, 04:59 AM |