Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Crowbar script
Post: RE: Crowbar script
God damn!! Thank you so much! :D:D |
|
Bozcovich |
Development Support
|
10 |
8,408 |
01-17-2012, 06:27 PM |
|
|
Thread: Crowbar script
Post: RE: Crowbar script
Thanks! :D It doesnt show an error message now but i nothing happens with the door when i bend the crowbar :S |
|
Bozcovich |
Development Support
|
10 |
8,408 |
01-17-2012, 06:13 PM |
|
|
Thread: Crowbar script
Post: RE: Crowbar script
Main(9,1):ERR: Identifier 'Void' is not a data type
Main/6,1):ERR: No matching Signatures to 'AddEntityCollideCallback(string@&,string@&,string@&,string@&, const cool)'
Main(10,1): ERR... |
|
Bozcovich |
Development Support
|
10 |
8,408 |
01-17-2012, 05:31 PM |
|
|
Thread: Crowbar script
Post: RE: Crowbar script
Gah, i get errors with this code, anyone knows why? The problem is with the Crowbar/breaking the door script.
void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "MonsterFunc1" ,... |
|
Bozcovich |
Development Support
|
10 |
8,408 |
01-17-2012, 05:19 PM |
|
|
Thread: Crowbar script
Post: RE: Crowbar script
Thanks for the help, didnt know the Callbacks should be there :D |
|
Bozcovich |
Development Support
|
10 |
8,408 |
01-17-2012, 03:55 PM |
|
|
Thread: Crowbar script
Post: Crowbar script
Hey, I'm trying to make a crowbar/destroying door script, but i keep getting error,
Whats wrong with this code? :D
void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "Monster... |
|
Bozcovich |
Development Support
|
10 |
8,408 |
01-17-2012, 01:37 AM |
|
|
Thread: Scripts not working
Post: RE: Scripts not working
That didnt work either, but i just tried this and it worked:
void OnStart()
{
AddUseItemCallback("", "SUPER HAX KEY THAT SUCKS", "das door", "hax", true);
if(ScriptDebugOn())
{
GiveItemFromFile("la... |
|
Bozcovich |
Development Support
|
10 |
8,700 |
01-13-2012, 11:26 PM |
|
|
Thread: Scripts not working
Post: RE: Scripts not working
|
Bozcovich |
Development Support
|
10 |
8,700 |
01-13-2012, 11:03 PM |
|
|
Thread: Scripts not working
Post: RE: Scripts not working
Its a level door, but i tried it with a swing aswell :S |
|
Bozcovich |
Development Support
|
10 |
8,700 |
01-13-2012, 10:53 PM |
|
|
Thread: Scripts not working
Post: RE: Scripts not working
Now the key just disappears, the door is still locked :( And i used the exact code you gave me |
|
Bozcovich |
Development Support
|
10 |
8,700 |
01-13-2012, 09:22 PM |
|
|
Thread: Scripts not working
Post: Scripts not working
Hey, ive recently started making a custom story (my first). I cant get the scripts to start working, i have a script to open a door with a key, but it doesnt work, and i have a script that gives the p... |
|
Bozcovich |
Development Support
|
10 |
8,700 |
01-12-2012, 09:54 PM |