-
try this in a mission on Sahrani:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player setPos [13485,8847.5,0]
player setDir 270
myGate = position player nearestObject 3194
myGate setDamage 1
~2
myGate setVectorUp [0,1,0]
myGate setVectorDir [0,0,1]
myGate setDamage 0[/QUOTE]
I haven't thought through how it works, or how to optimally make use the setVector commands, but this example works for me. The tree/fence destruct type moves the object's center point as it falls over when destroyed, then you can re-orientate the object around the center point, then un-destroy it. Repeat if needed. I'm sure it would be possible to move an object to an arbitrary location using a refined version of this method. I've also noticed that it's possible to create weird skew effects using this trick.
The AI seem to be happy enough to walk/drive over the buried gate object, I haven't tested it with other objects.
-
Can't you just delete the "visitor bar gate"?
-
This is a REALLY late reply, but there's something wrong with either the page, the browser, or my computer. Whenever you guys type a ' it says ! for me, which makes the stuff I'm supossed to copy into the init-field really hard to understand since it says ! instead of ' and like " instead of ! for me, etc.
Anyone who could send me an email or something like that with the actual text that you're supossed to copy into the init field of the gate? Would be extremely appriciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules