UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: DeletedUser on November 16, 2017, 11:14:52 pm

Title: Can anyone tell me how to use and set up this script for my AI
Post by: DeletedUser on November 16, 2017, 11:14:52 pm
My AI are spawned via trigger by pressing E on it. However they do not move when spawned and do not got to cover nodes when told to.

if anyone knows how to set this up: http://ugx-mods.com/script/#core.AI.useCoverNode (http://ugx-mods.com/script/#core.AI.useCoverNode)

aka this :
Code Snippet
Plaintext
<actor>  useCoverNode( <path node> );

then please let me know as im fairly new to scripting and i need help right away! thank you!
Title: Re: Can anyone tell me how to use and set up this script for my AI
Post by: buttkicker845 on November 17, 2017, 01:01:25 pm
I'm pretty sure you've asked similar questions about AI navigation?  ???

Anyways I've never used
Code Snippet
Plaintext
<AI>  UseCoverNode( <path node> );

I've only used
Code Snippet
Plaintext
<AI>  SetGoalNode( <path node> );

the different Cover Node classes are children of the Path Node class so they can be passed into the function properly and the AI will automatically play the animations for the cover
Hope this helps :)
Title: Re: Can anyone tell me how to use and set up this script for my AI
Post by: DeletedUser on November 17, 2017, 08:34:26 pm
I'm pretty sure you've asked similar questions about AI navigation?  ???

Anyways I've never used
Code Snippet
Plaintext
<AI>  UseCoverNode( <path node> );

I've only used
Code Snippet
Plaintext
<AI>  SetGoalNode( <path node> );

the different Cover Node classes are children of the Path Node class so they can be passed into the function properly and the AI will automatically play the animations for the cover
Hope this helps :)

i have asked similar questions but no one actually tells me how tf to do it or set this up at all!!! they just give me a line of code...that does not really help at all....
Title: Re: Can anyone tell me how to use and set up this script for my AI
Post by: buttkicker845 on November 21, 2017, 04:38:38 am
I've yet to see any of your code other than a single function line so I can't help you understand what is being done incorrectly if I don't know what you're doing other than a single line of code.

Please post snippets of your actual code and then I would be happy to help you in the right direction with your issues of AI navigation.  :D