Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Updated]Invisible AMFP meshes? (And Other Questions)
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#35
RE: Invisible AMFP meshes? (And Other Questions)

(07-30-2014, 06:49 AM)DeAngelo Wrote: I'm trying to give the player 99 Tinderboxes but my script is only giving them one. Any ideas?

GiveItem("Tinderboxes", "tinderbox", "", "", 99);
Try using a for loop.
Spoiler below!

PHP Code: (Select All)
for(int t 0== 99t++)
{
GiveItem("Tinderboxes""tinderbox"""""1);



(07-30-2014, 06:49 AM)DeAngelo Wrote: Also, I have a main area of the game that the player goes back to each in-game day. There's different stuff you can do in the house each day. Would it be better to load the same map and have all my scripts in one hps file (using a variable to determine what day it is thus what scripts work) or would it be better to make a separate version of the map for each day?

Unless the Player doesn't mind with the constant loading screens then use separate maps. But for me I usually use global variables to determine whether it's day or not since my CS takes place in 8 days and you can go at anytime.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 07-30-2014, 09:45 AM by PutraenusAlivius.)
07-30-2014, 09:44 AM
Find


Messages In This Thread
RE: Invisible AMFP meshes? - by Artsy - 07-20-2014, 11:36 PM
RE: Invisible AMFP meshes? - by DeAngelo - 07-20-2014, 11:53 PM
RE: Invisible AMFP meshes? - by Daemian - 07-21-2014, 03:32 AM
RE: Invisible AMFP meshes? - by DeAngelo - 07-21-2014, 05:44 AM
RE: Invisible AMFP meshes? - by DeAngelo - 07-22-2014, 08:52 AM
RE: Invisible AMFP meshes? - by Mudbill - 07-22-2014, 11:00 AM
RE: Invisible AMFP meshes? - by Daemian - 07-22-2014, 07:49 PM
RE: Invisible AMFP meshes? - by DeAngelo - 07-22-2014, 08:02 PM
RE: Invisible AMFP meshes? - by Mudbill - 07-22-2014, 09:34 PM
RE: Invisible AMFP meshes? - by DeAngelo - 07-22-2014, 10:37 PM
RE: Invisible AMFP meshes? - by Daemian - 07-23-2014, 12:31 AM
RE: Invisible AMFP meshes? - by Mudbill - 07-23-2014, 01:11 AM
RE: Invisible AMFP meshes? (And Other Questions) - by PutraenusAlivius - 07-30-2014, 09:44 AM



Users browsing this thread: 1 Guest(s)