Jump to content

Recommended Posts

I want a script that would allow the player to walk through other actors, similar to tcl/toggle no clip/ SetDisableGlobalCollision.

I still want the player to collide with the environment, be affected by gravity, and be able to jump or run around as normal. The only difference would be the ability to phase through other creatures. Unfortunately it seems this is likely impossible...

I also have considered altering the player's bounding box, so that it is very small at their feet, so that I could at least create the illusion that you can phase through other creatures.

Perhaps someone could explain how to use GetBoundingBox?

 

Link to comment
Share on other sites

Well you could always try to use the TCL command within a script as that should really work.

 

A Stringmap is an array and a array holds mostly more then one single variable. To get each content inside an array, it need to be called with numbers or map-keys.

 

Lets play a game and make a common example, shall we? Lets say We have MortenRef and we wanna check where he is, well we can getposx and get pos y etc, but....

array MortenAre
Short MortX
Short MortY

Let MortenAre := MortenAre.GetBoundingBox
Let MortX := MortAre[0]
Let MortY := MortAre[1]
Let Blabla := MortAre[2]

...I would rather use the ref as a trigger I guess and in case the player get inside it, I might used an OnTrigger event. But I am not sure it will work but it should. The times I used Triggers, is with the green activators that are made for them but when I failed, was when I tried to use my own weapons as triggers, picking up gold all around me.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...