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
Monster disappears after loop
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Monster disappears after loop

(03-01-2013, 08:02 PM)Adrianis Wrote: In that function, you are setting up path 1 - 12 then 1 - 12 again, which is why he goes twice before dissapearing. If you want to set those 12 up again, you need it to collide with a script area that will call that function again - if he is going to collide with the first area again, then you need to set the area to not delete after the collide (you have 'true', should be 'false')

Also, you only need the for... loop in there, as that will set up the same path nodes as all the previous individual ones you typed
Thanks for that Big Grin Works like a charm!
(03-02-2013, 01:34 AM)Your Computer Wrote: Continually adding patrol nodes to the monster is excessive and unnecessary to meet the desired result. All you have to do is modify the monster entity variables. Since you're using the grunt, you're going to have to make a copy of the grunt so that it doesn't overwrite the original grunt. You do this by making a copy of the ENT file that represents the grunt, give it a different file name so that the original does not take its place, then edit the ENT in a plain-text editor.

Under user defined variables, you add

You may also want to increase the activation distance of the monster to prevent premature deactivation of the monster. Then in the level editor replace the grunt with the modified grunt. This also requires that the custom_stories folder is listed in the resources.cfg file.

Note that if you choose to edit the modified grunt in the model editor, it'll undo the manual changes to the ENT file if you save. Meaning, you'll have to add the code again.
I was just coming back to say that it worked, so I no longer require assistance, but thanks for this input. It may help later if I choose to add another Grunt to the room, dumping the old one so it uses some more sexy path nodes into the rooms itself Big Grin I'll give reputation for you both Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
03-02-2013, 03:30 AM
Find


Messages In This Thread
Monster disappears after loop - by Romulator - 03-01-2013, 03:46 PM
RE: Monster disappears after loop - by ghostelom - 03-01-2013, 03:49 PM
RE: Monster disappears after loop - by Romulator - 03-01-2013, 03:51 PM
RE: Monster disappears after loop - by Adrianis - 03-01-2013, 08:02 PM
RE: Monster disappears after loop - by Romulator - 03-02-2013, 03:30 AM



Users browsing this thread: 1 Guest(s)