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
Need help with this scripting.
HoyChampoy Offline
Junior Member

Posts: 43
Threads: 16
Joined: Jun 2012
Reputation: 0
#9
RE: Need help with this scripting.

(06-29-2012, 07:48 PM)EXAWOLT Wrote: if you want the area to work several times, just change the true to false.
instead of creating an enemy at a entity, i suggest to set out one in the editor and make him inactive, and when colliding with the area, the monster will be activated, and if you die, the monsters will always dissappear but when you collides with the area it will respawn.
SetEntityActive("Monster", true);
I tried it but he wont even spawn when i collide with the area anymore

(06-29-2012, 07:48 PM)EXAWOLT Wrote: if you want the area to work several times, just change the true to false.
instead of creating an enemy at a entity, i suggest to set out one in the editor and make him inactive, and when colliding with the area, the monster will be activated, and if you die, the monsters will always dissappear but when you collides with the area it will respawn.
SetEntityActive("Monster", true);
Heres a pic
[Image: ?action=view&current=helppic.png]


i want it so that if the player fails, everything resets, such as the enemy pos and the fadeout script area
(This post was last modified: 06-29-2012, 08:21 PM by HoyChampoy.)
06-29-2012, 08:06 PM
Find


Messages In This Thread
Need help with this scripting. - by HoyChampoy - 06-29-2012, 07:18 PM
RE: Need help with this scripting. - by Cruzore - 06-29-2012, 07:22 PM
RE: Need help with this scripting. - by Cruzore - 06-29-2012, 07:47 PM
RE: Need help with this scripting. - by EXAWOLT - 06-29-2012, 07:48 PM
RE: Need help with this scripting. - by HoyChampoy - 06-29-2012, 08:06 PM
RE: Need help with this scripting. - by Cruzore - 06-29-2012, 07:51 PM
RE: Need help with this scripting. - by Cruzore - 06-29-2012, 08:06 PM
RE: Need help with this scripting. - by EXAWOLT - 06-29-2012, 10:19 PM
RE: Need help with this scripting. - by ApeCake - 06-29-2012, 10:24 PM
RE: Need help with this scripting. - by Cruzore - 06-29-2012, 11:57 PM
RE: Need help with this scripting. - by Cruzore - 06-30-2012, 12:04 AM
RE: Need help with this scripting. - by EXAWOLT - 06-30-2012, 12:05 AM
RE: Need help with this scripting. - by Cruzore - 06-30-2012, 12:05 AM
RE: Need help with this scripting. - by Cruzore - 06-30-2012, 12:16 AM
RE: Need help with this scripting. - by Cruzore - 06-30-2012, 12:43 AM



Users browsing this thread: 1 Guest(s)