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
What do i put in between } and { after SetEntityActive?
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: What do i put in between } and { after SetEntityActive?

There should never be void inside the brackets.

This is the function you wrote:
SetEntityActive("grunt3",false);



This is the entity you want to do the line with. In this situation, a grunt.
This one defines if the entity should be active or inactive.
true = active
false = inactive


You see, you set it to false. That's why it isn't spawning.

In other scripting-situations, post your question here: http://www.frictionalgames.com/forum/forum-39.html
Development Support

Trying is the first step to success.
(This post was last modified: 01-25-2013, 09:26 AM by FlawlessHappiness.)
01-25-2013, 09:25 AM
Find


Messages In This Thread
RE: What do i put in between } and { after SetEntityActive? - by FlawlessHappiness - 01-25-2013, 09:25 AM



Users browsing this thread: 1 Guest(s)