Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hpl2:tutorials:script:pushdoorsopen [2011/07/18 12:32] ouroboros [Push Doors Open( using Force)] |
hpl2:tutorials:script:pushdoorsopen [2011/07/18 12:38] ouroboros [Push Doors Open( using Force)] |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | Using Force, aside from moving things around, can be used to open doors and things such as cabinets which can be opened. | + | Force, aside from moving things around, can be used to open doors and things such as cabinets which can be opened. |
Line 30: | Line 30: | ||
- | "string &in entity" at the beginning of the function(just after it's name) will become the entity's name if it's placed on the entity's PlayerLookAtCallback text box. Meaning, this would work for a door name "mansion_1", and for another named "room3" at the same time. | + | the "entity" in "string &in entity" at the beginning of the function(just after it's name) is a string variable that is assigned the entity's name if it's placed on the entity's PlayerLookAtCallback text box. Meaning, this would work for a door name "mansion_1", and for another named "room3" at the same time. |
===== Opening entities with "doors" ===== | ===== Opening entities with "doors" ===== |