scripting problems

Talk about anything related to Platinum Arts Sandbox here!
User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

scripting problems

Postby Dannyboi » June 16th, 2009, 9:38 pm

I copyied the code from savetheprincess to #2 and expected it to work. I didnt download the patch but i used the help from the wiki to make the code and it works in #1 but not in #2. I rewrote the whole script, or at least tried!! Im a total nob so i probably messed it up. Anyway offer some help if you know what to do.

Thanks
-Danny
I'm BAAAACK!!! >:D

CollegeforKids
Restricted User
Posts: 27
Joined: June 16th, 2009, 10:50 am
Name: Caitlin
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby CollegeforKids » June 16th, 2009, 9:51 pm


User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby Dannyboi » June 16th, 2009, 9:53 pm

I'll try it!

Thankies
-Danny
I'm BAAAACK!!! >:D

User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby Dannyboi » June 16th, 2009, 9:57 pm

How do you make an invisable model?

-Danny
I'm BAAAACK!!! >:D

CollegeforKids
Restricted User
Posts: 27
Joined: June 16th, 2009, 10:50 am
Name: Caitlin
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby CollegeforKids » June 16th, 2009, 10:13 pm

Trying to figure that out too...I can't get this to work...

User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby Dannyboi » June 16th, 2009, 10:25 pm

Well i'll keep yuo posted if i figure it out then i'll tell you.

Thanks
-Danny
I'm BAAAACK!!! >:D

CollegeforKids
Restricted User
Posts: 27
Joined: June 16th, 2009, 10:50 am
Name: Caitlin
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby CollegeforKids » June 17th, 2009, 1:01 am

after you make the config file, new map model (mine wasn't invisible but worked), edit attiributes (easier to hit F3 then change both trigger identity and style to 1) see if it works.

If not, save your map then type this in (press ` first)

/sp <yourmapname. it will kinda reload. Then try

User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby Dannyboi » June 17th, 2009, 8:41 am

I kinda figured it out. I got mine invisable but it wouldnt talk. What you do is you go to edit GUI go to entitys click new mapmodel then in the part it says R G B make them all 0 and it should be invisable then just spawn it.

Hope it helps
-Danny
I'm BAAAACK!!! >:D

User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby Dannyboi » June 17th, 2009, 8:47 am

Well I got it to work.

Thanks
-Danny
I'm BAAAACK!!! >:D

User avatar
Dannyboi
Member
Member
Posts: 98
Joined: June 14th, 2009, 5:00 pm
Name: Danny
Location: Temple TX
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: scripting problems

Postby Dannyboi » June 17th, 2009, 8:53 am

Nevermind, I got it to work then I saved and re-entered the map and it didnt.
I'm BAAAACK!!! >:D


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Sandbox General Chat”

Who is online

Users browsing this forum: No registered users and 3 guests