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)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#41
RE: Invisible AMFP meshes? (And Other Questions)

That looks very clustered. I suggest using the parameter variables. For example use:

PHP Code: (Select All)
void ResetWine(string &in asParentstring &in asChildint alState)
{
    
AddTimer(asParent3"TimerResetWine");
}

void TimerResetWine(string &in asTimer)
{
    
ResetProp(asTimer);


Doing it like this would make the script much shorted but achieve the same. Instead of using absolute names, it will reference to the current value of asParent / asTimer, which at runtime will be the entity currently used to call the events.

Anyway, have you tried, instead of using ResetProp, to use the CreateEntityAtArea? Perhaps you can just create new bottles at defined areas instead? Broken props may not want to reset, as they might be considered non-existant.

(This post was last modified: 08-14-2014, 10:35 PM by Mudbill.)
08-14-2014, 10:34 PM
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 Mudbill - 08-14-2014, 10:34 PM



Users browsing this thread: 1 Guest(s)