Playmaker Forum

PlayMaker News => General Discussion => Topic started by: tcmeric on July 03, 2017, 08:54:46 AM

Title: Alex/ Jean - C# Destroy in Custom FSM [Solved]
Post by: tcmeric on July 03, 2017, 08:54:46 AM
Hi,

It seems like I cannot called Destroy() in a playmaker FsmStateAction script (even though I can in a normal monodevelop c# script). Is there a reason for this, or a way I can work around it?

Thanks!

Title: Re: Alex/ Jean - C# Destroy in Custom FSM
Post by: djaydino on July 03, 2017, 10:37:36 AM
Hi, i Looked on some of the standard actions and destroy is called like this :

Object.Destroy(something);
Title: Re: Alex/ Jean - C# Destroy in Custom FSM [Solved]
Post by: tcmeric on July 03, 2017, 12:36:09 PM
Awesome, thanks for the tip!
Title: Re: Alex/ Jean - C# Destroy in Custom FSM [Solved]
Post by: jeanfabre on July 04, 2017, 05:55:51 AM
Hi,

 So, the title next time should be "Alex / jean / djaydino "  ;D  ::)

Bye,

 Jean
Title: Re: Alex/ Jean - C# Destroy in Custom FSM [Solved]
Post by: djaydino on July 04, 2017, 11:14:22 AM
Hi,
Hehe :D

He's my only patron (atm) so i need to take good care if him :D

Your are excused (this time) :P